Commit 3802d833 authored by Radek Ošlejšek's avatar Radek Ošlejšek
Browse files

Fixed issue #14

parent 0a5ff39a
......@@ -28,7 +28,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