@ -10,6 +10,13 @@ public class GamesTest extends TestCase {
assertEquals(expected,actual);
}
publicvoidtest_checkGames(){
GamestestObject=newGames();
Stringexpected="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";
Stringactual=testObject.checkGames();
assertEquals(expected,actual);
}
publicvoidtest_checkConsoles(){
GamestestObject=newGames();
Stringexpected="PlayStation 4, Multiplatform, Nintendo Switch, Nintendo DS, PlayStation 3, Xbox, PlayStation Portable, Nintendo 3DS, Xbox 360, PlayStation Vita";