コード例 #1
0
 // test the onTick method
 void testOnTick(Tester t) {
   resetCTF();
   ctf.onTick();
   t.checkExpect(ctf.player.loc, new Posn(6, CollectTheFruit.height - 30));
 }