Commit 52bbdc25 authored by Radek Ošlejšek's avatar Radek Ošlejšek
Browse files

Fixed issue #14

(cherry picked from commit 3802d833)
parent fc1d259f
......@@ -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