diff --git a/test/core/test/ControlPointTest.java b/test/core/test/ControlPointTest.java index d3bb74f..3b0fd69 100644 --- a/test/core/test/ControlPointTest.java +++ b/test/core/test/ControlPointTest.java @@ -9,7 +9,8 @@ public void controlPointIdIsIncremental() { ControlPoint controlPoint1 = new ControlPoint(new Position(0, 0), 0, 0, null); ControlPoint controlPoint2 = new ControlPoint(new Position(0, 1), 0, 0, null); ControlPoint controlPoint3 = new ControlPoint(new Position(0, 2), 0, 0, null); - Assert.assertTrue(controlPoint3.getId() > controlPoint2.getId()); - Assert.assertTrue(controlPoint2.getId() > controlPoint1.getId()); + Assert.assertTrue(controlPoint1.getId() != controlPoint3.getId()); + Assert.assertTrue(controlPoint1.getId() != controlPoint2.getId()); + Assert.assertTrue(controlPoint2.getId() != controlPoint3.getId()); } }