예제 #1
0
 @Before
 public void setUp() {
   id = 123;
   timestep = 2;
   pid = 50;
   nodeid = 3456;
   abilityid = 54;
   m = new SupDawgMessage(pid);
   m.setTimeStep(timestep);
 }
예제 #2
0
 @Test
 public void testSetTimeStep() {
   assertEquals(2, m.getTimeStep());
 }
예제 #3
0
 @Test
 public void testPlayerId() {
   assertEquals(50, m.getPlayerId());
 }