示例#1
0
 @Test
 public void testGetTitle() {
   assertSame(Test.getTitle(), "game1");
 }
示例#2
0
 @Test
 public void testSetTitle() {
   Test.setTitle("game3");
   assertTrue(Test.getTitle().equals("game3"));
 }
示例#3
0
 @Test
 public void testGame() {
   assertTrue(Test.getTitle().equals("game1"));
   assertEquals(Test.getPlatform(), "platform1");
 }