Пример #1
0
 @Test
 public void testGetPlatform() {
   assertSame(Test.getPlatform(), "platform1");
 }
Пример #2
0
 @Test
 public void testSetPlatform() {
   Test.setPlatform("platform3");
   assertEquals(Test.getPlatform(), "platform3");
 }
Пример #3
0
 @Test
 public void testGame() {
   assertTrue(Test.getTitle().equals("game1"));
   assertEquals(Test.getPlatform(), "platform1");
 }