Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Georgii Aksenov
2021-pb162-seminar-project
Commits
048df3c6
Commit
048df3c6
authored
Mar 06, 2020
by
Radek Ošlejšek
Browse files
Fixed issue #14
(cherry picked from commit
3802d833
)
parent
76e5a992
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/test/java/cz/muni/fi/pb162/project/geometry/Vertex2DTest.java
View file @
048df3c6
...
...
@@ -57,7 +57,8 @@ public class Vertex2DTest {
@Test
public
void
checkToString
()
{
assertThat
(
vertex2D
.
toString
()).
isEqualTo
(
"["
+
X
+
", "
+
Y
+
"]"
);
//assertThat(vertex2D.toString()).isEqualTo("[" + X + ", " + Y + "]");
assertThat
(
vertex2D
.
toString
()).
matches
(
Pattern
.
compile
(
"^\\["
+
X
+
"0*, "
+
Y
+
"0*\\]$"
));
}
@Test
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment