|
@ -303,98 +303,98 @@ public class GamesTest extends TestCase { |
|
|
String actual = testObject.checkPegiUnknown(); |
|
|
String actual = testObject.checkPegiUnknown(); |
|
|
assertEquals(expected, actual); |
|
|
assertEquals(expected, actual); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void test_checkEsrbE() { |
|
|
public void test_checkEsrbE() { |
|
|
Games testObject = new Games(); |
|
|
Games testObject = new Games(); |
|
|
String expected = "Rhythm Paradise, Tomodachi Life, Beautiful Katamari"; |
|
|
String expected = "Rhythm Paradise, Tomodachi Life, Beautiful Katamari"; |
|
|
String actual = testObject.checkEsrbE(); |
|
|
String actual = testObject.checkEsrbE(); |
|
|
assertEquals(expected, actual); |
|
|
assertEquals(expected, actual); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void test_checkEsrbEten() { |
|
|
public void test_checkEsrbEten() { |
|
|
Games testObject = new Games(); |
|
|
Games testObject = new Games(); |
|
|
String expected = "Super Smash Bros. Ultimate, Crash Bandicoot N. Sane Trilogy"; |
|
|
String expected = "Super Smash Bros. Ultimate, Crash Bandicoot N. Sane Trilogy"; |
|
|
String actual = testObject.checkEsrbEten(); |
|
|
String actual = testObject.checkEsrbEten(); |
|
|
assertEquals(expected, actual); |
|
|
assertEquals(expected, actual); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void test_checkEsrbT() { |
|
|
public void test_checkEsrbT() { |
|
|
Games testObject = new Games(); |
|
|
Games testObject = new Games(); |
|
|
String expected = "Ratchet & Clank, Astral Chain, Fire Emblem: Three Houses, Triangle Strategy, Jet Set Radio Future, Atelier Totori Plus"; |
|
|
String expected = "Ratchet & Clank, Astral Chain, Fire Emblem: Three Houses, Triangle Strategy, Jet Set Radio Future, Atelier Totori Plus"; |
|
|
String actual = testObject.checkEsrbT(); |
|
|
String actual = testObject.checkEsrbT(); |
|
|
assertEquals(expected, actual); |
|
|
assertEquals(expected, actual); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void test_checkEsrbM() { |
|
|
public void test_checkEsrbM() { |
|
|
Games testObject = new Games(); |
|
|
Games testObject = new Games(); |
|
|
String expected = "Persona 5 Royal, Yakuza: Dead Souls, Breakdown, AI: The Somnium Files, Persona 3 Portable"; |
|
|
String expected = "Persona 5 Royal, Yakuza: Dead Souls, Breakdown, AI: The Somnium Files, Persona 3 Portable"; |
|
|
String actual = testObject.checkEsrbM(); |
|
|
String actual = testObject.checkEsrbM(); |
|
|
assertEquals(expected, actual); |
|
|
assertEquals(expected, actual); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void test_checkCeroA() { |
|
|
public void test_checkCeroA() { |
|
|
Games testObject = new Games(); |
|
|
Games testObject = new Games(); |
|
|
String expected = "Ratchet & Clank, Rhythm Paradise, Super Smash Bros. Ultimate, Jet Set Radio Future, Tomodachi Life, Beautiful Katamari, Crash Bandicoot N. Sane Trilogy"; |
|
|
String expected = "Ratchet & Clank, Rhythm Paradise, Super Smash Bros. Ultimate, Jet Set Radio Future, Tomodachi Life, Beautiful Katamari, Crash Bandicoot N. Sane Trilogy"; |
|
|
String actual = testObject.checkCeroA(); |
|
|
String actual = testObject.checkCeroA(); |
|
|
assertEquals(expected, actual); |
|
|
assertEquals(expected, actual); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void test_checkCeroB() { |
|
|
public void test_checkCeroB() { |
|
|
Games testObject = new Games(); |
|
|
Games testObject = new Games(); |
|
|
String expected = "Fire Emblem: Three Houses, Persona 3 Portable, Atelier Totori Plus"; |
|
|
String expected = "Fire Emblem: Three Houses, Persona 3 Portable, Atelier Totori Plus"; |
|
|
String actual = testObject.checkCeroB(); |
|
|
String actual = testObject.checkCeroB(); |
|
|
assertEquals(expected, actual); |
|
|
assertEquals(expected, actual); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void test_checkCeroC() { |
|
|
public void test_checkCeroC() { |
|
|
Games testObject = new Games(); |
|
|
Games testObject = new Games(); |
|
|
String expected = "Persona 5 Royal, Astral Chain, Triangle Strategy, Breakdown"; |
|
|
String expected = "Persona 5 Royal, Astral Chain, Triangle Strategy, Breakdown"; |
|
|
String actual = testObject.checkCeroC(); |
|
|
String actual = testObject.checkCeroC(); |
|
|
assertEquals(expected, actual); |
|
|
assertEquals(expected, actual); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void test_checkCeroD() { |
|
|
public void test_checkCeroD() { |
|
|
Games testObject = new Games(); |
|
|
Games testObject = new Games(); |
|
|
String expected = "Yakuza: Dead Souls"; |
|
|
String expected = "Yakuza: Dead Souls"; |
|
|
String actual = testObject.checkCeroD(); |
|
|
String actual = testObject.checkCeroD(); |
|
|
assertEquals(expected, actual); |
|
|
assertEquals(expected, actual); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void test_checkCeroZ() { |
|
|
public void test_checkCeroZ() { |
|
|
Games testObject = new Games(); |
|
|
Games testObject = new Games(); |
|
|
String expected = "AI: The Somnium Files"; |
|
|
String expected = "AI: The Somnium Files"; |
|
|
String actual = testObject.checkCeroZ(); |
|
|
String actual = testObject.checkCeroZ(); |
|
|
assertEquals(expected, actual); |
|
|
assertEquals(expected, actual); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void test_checkAcbG() { |
|
|
public void test_checkAcbG() { |
|
|
Games testObject = new Games(); |
|
|
Games testObject = new Games(); |
|
|
String expected = "Rhythm Paradise, Beautiful Katamari"; |
|
|
String expected = "Rhythm Paradise, Beautiful Katamari"; |
|
|
String actual = testObject.checkAcbG(); |
|
|
String actual = testObject.checkAcbG(); |
|
|
assertEquals(expected, actual); |
|
|
assertEquals(expected, actual); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void test_checkAcbPg() { |
|
|
public void test_checkAcbPg() { |
|
|
Games testObject = new Games(); |
|
|
Games testObject = new Games(); |
|
|
String expected = "Ratchet & Clank, Super Smash Bros. Ultimate, Tomodachi Life, Crash Bandicoot N. Sane Trilogy"; |
|
|
String expected = "Ratchet & Clank, Super Smash Bros. Ultimate, Tomodachi Life, Crash Bandicoot N. Sane Trilogy"; |
|
|
String actual = testObject.checkAcbPg(); |
|
|
String actual = testObject.checkAcbPg(); |
|
|
assertEquals(expected, actual); |
|
|
assertEquals(expected, actual); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void test_checkAcbM() { |
|
|
public void test_checkAcbM() { |
|
|
Games testObject = new Games(); |
|
|
Games testObject = new Games(); |
|
|
String expected = "Astral Chain, Fire Emblem: Three Houses, Triangle Strategy, Jet Set Radio Future"; |
|
|
String expected = "Astral Chain, Fire Emblem: Three Houses, Triangle Strategy, Jet Set Radio Future"; |
|
|
String actual = testObject.checkAcbM(); |
|
|
String actual = testObject.checkAcbM(); |
|
|
assertEquals(expected, actual); |
|
|
assertEquals(expected, actual); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void test_checkAcbMaFifteen() { |
|
|
public void test_checkAcbMaFifteen() { |
|
|
Games testObject = new Games(); |
|
|
Games testObject = new Games(); |
|
|
String expected = "Persona 5 Royal, Yakuza: Dead Souls, Breakdown, AI: The Somnium Files, Persona 3 Portable"; |
|
|
String expected = "Persona 5 Royal, Yakuza: Dead Souls, Breakdown, AI: The Somnium Files, Persona 3 Portable"; |
|
|
String actual = testObject.checkAcbMaFifteen(); |
|
|
String actual = testObject.checkAcbMaFifteen(); |
|
|
assertEquals(expected, actual); |
|
|
assertEquals(expected, actual); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void test_checkAcbReighteen() { |
|
|
public void test_checkAcbReighteen() { |
|
|
Games testObject = new Games(); |
|
|
Games testObject = new Games(); |
|
|
String expected = "Atelier Totori Plus"; |
|
|
String expected = "Atelier Totori Plus"; |
|
|