Пример #1
0
 @Test
 public void testGetType() {
   assertTrue(drawDat.getType().equals("TYPE"));
 }
Пример #2
0
 @Test
 public void testGetWidth() {
   assertTrue(drawDat.getWidth() == 2);
 }
Пример #3
0
 @Test
 public void testGetDirection() {
   assertTrue(drawDat.getDirection().x == 4);
   assertTrue(drawDat.getDirection().y == 4);
 }
Пример #4
0
 @Test
 public void testGetHeight() {
   assertTrue(drawDat.getHeight() == 3);
 }
Пример #5
0
 @Test
 public void testGetPosition() {
   assertTrue(drawDat.getPosition().x == 1);
   assertTrue(drawDat.getPosition().y == 1);
 }