@ -8,4 +8,11 @@ public class GamesTest extends TestCase {
booleanactual=testObject.checkForConnection();
booleanactual=testObject.checkForConnection();
assertEquals(expected,actual);
assertEquals(expected,actual);
}
}
publicvoidtest_checkForConsoles(){
GamestestObject=newGames();
Stringexpected="PlayStation 4, Multiplatform, Nintendo Switch, Nintendo DS, PlayStation 3, Xbox, PlayStation Portable, Nintendo 3DS, Xbox 360, PlayStation Vita";