|
@ -9,6 +9,13 @@ public class GamesTest extends TestCase { |
|
|
boolean actual = testObject.checkConnection(); |
|
|
boolean actual = testObject.checkConnection(); |
|
|
assertEquals(expected, actual); |
|
|
assertEquals(expected, actual); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void test_checkGames() { |
|
|
|
|
|
Games testObject = new Games(); |
|
|
|
|
|
String expected = "Persona 5 Royal, Ratchet & Clank, Astral Chain, Fire Emblem: Three Houses, Triangle Strategy, Rhythm Paradise, Super Smash Bros. Ultimate, Yakuza: Dead Souls, Jet Set Radio Future, Breakdown, AI: The Somnium Files, Persona 3 Portable, Tomodachi Life, Beautiful Katamari, Atelier Totori Plus, Crash Bandicoot N. Sane Trilogy"; |
|
|
|
|
|
String actual = testObject.checkGames(); |
|
|
|
|
|
assertEquals(expected, actual); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
public void test_checkConsoles() { |
|
|
public void test_checkConsoles() { |
|
|
Games testObject = new Games(); |
|
|
Games testObject = new Games(); |
|
|