Coverage Summary for Class: TileMapCellsTest (io.team9.game.tests.AI.utils)

Class Class, % Method, % Line, %
TileMapCellsTest 100% (1/1) 100% (4/4) 100% (5/5)


1 package io.team9.game.tests.AI.utils; 2  3 import com.mygdx.utils.TileMapCells; 4 import io.team9.game.tests.GdxTestRunner; 5 import org.junit.Test; 6 import org.junit.runner.RunWith; 7  8 import static org.junit.Assert.assertEquals; 9  10 @RunWith(GdxTestRunner.class) 11 public class TileMapCellsTest { 12  13  TileMapCells tilemap = new TileMapCells(); 14  @Test 15  public void testObstacle() { 16  assertEquals("obstacle", tilemap.OBSTACLE, 61); 17  } 18  19  @Test 20  public void testPassable() { 21  assertEquals("passable", tilemap.PASSABLE, 97); 22  } 23  24  @Test 25  public void testObstacleCost() { 26  assertEquals( tilemap.OBSTACLE_COST, 100000f, 100000f); 27  } 28  29 }