Пример #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());
 }