Commit 048df3c6 authored by Radek Ošlejšek's avatar Radek Ošlejšek
Browse files

Fixed issue #14

(cherry picked from commit 3802d833)
parent 76e5a992
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment