예제 #1
0
 @Test
 public void testSetPos() {
   cot.setPos(new Vector2(1.0f, 1.0f));
   assertEquals(1.0f, cot.getPos().x, 0.0f);
 }
예제 #2
0
 @Test
 public void testSetStartingPos() {
   cot.setStartingPos(2.0f, 3.0f);
   assertEquals(3.0f, cot.getStartingPos().y, 0.1f);
 }