@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 testSetY1() { vectorDefinition.setY1(TestNewY1); assertEquals(TestNewY1, vectorDefinition.getY1(), NoDifferenceAllowed); }
@Test public final void testGetY1() { assertEquals(TestInitY1, vectorDefinition.getY1(), NoDifferenceAllowed); }