@Test public final void testShiftOnArrow() { vectorDefinition.shiftOnArrow(TestShiftValue); assertEquals( TestInitX2 - TestInitX1, vectorDefinition.getX2() - vectorDefinition.getX1(), NoDifferenceAllowed); assertEquals( TestInitY2 - TestInitY1, vectorDefinition.getY2() - vectorDefinition.getY1(), NoDifferenceAllowed); }
@Test public final void testSetX1() { vectorDefinition.setX1(TestNewX1); assertEquals(TestNewX1, vectorDefinition.getX1(), NoDifferenceAllowed); }
@Test public final void testGetX1() { assertEquals(TestInitX1, vectorDefinition.getX1(), NoDifferenceAllowed); }