|
@ -226,77 +226,77 @@ public class GamesTest extends TestCase { |
|
|
String actual = testObject.checkOnePlayerOnly(); |
|
|
String actual = testObject.checkOnePlayerOnly(); |
|
|
assertEquals(expected, actual); |
|
|
assertEquals(expected, actual); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void test_checkUskZero() { |
|
|
public void test_checkUskZero() { |
|
|
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.checkUskZero(); |
|
|
String actual = testObject.checkUskZero(); |
|
|
assertEquals(expected, actual); |
|
|
assertEquals(expected, actual); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void test_checkUskSix() { |
|
|
public void test_checkUskSix() { |
|
|
Games testObject = new Games(); |
|
|
Games testObject = new Games(); |
|
|
String expected = "Ratchet & Clank, Atelier Totori Plus, Crash Bandicoot N. Sane Trilogy"; |
|
|
String expected = "Ratchet & Clank, Atelier Totori Plus, Crash Bandicoot N. Sane Trilogy"; |
|
|
String actual = testObject.checkUskSix(); |
|
|
String actual = testObject.checkUskSix(); |
|
|
assertEquals(expected, actual); |
|
|
assertEquals(expected, actual); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void test_checkUskTwelve() { |
|
|
public void test_checkUskTwelve() { |
|
|
Games testObject = new Games(); |
|
|
Games testObject = new Games(); |
|
|
String expected = "Fire Emblem: Three Houses, Triangle Strategy, Super Smash Bros. Ultimate, Jet Set Radio Future, Persona 3 Portable"; |
|
|
String expected = "Fire Emblem: Three Houses, Triangle Strategy, Super Smash Bros. Ultimate, Jet Set Radio Future, Persona 3 Portable"; |
|
|
String actual = testObject.checkUskTwelve(); |
|
|
String actual = testObject.checkUskTwelve(); |
|
|
assertEquals(expected, actual); |
|
|
assertEquals(expected, actual); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void test_checkUskSixteen() { |
|
|
public void test_checkUskSixteen() { |
|
|
Games testObject = new Games(); |
|
|
Games testObject = new Games(); |
|
|
String expected = "Persona 5 Royal, Astral Chain, Breakdown, AI: The Somnium Files"; |
|
|
String expected = "Persona 5 Royal, Astral Chain, Breakdown, AI: The Somnium Files"; |
|
|
String actual = testObject.checkUskSixteen(); |
|
|
String actual = testObject.checkUskSixteen(); |
|
|
assertEquals(expected, actual); |
|
|
assertEquals(expected, actual); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void test_checkUskEighteen() { |
|
|
public void test_checkUskEighteen() { |
|
|
Games testObject = new Games(); |
|
|
Games testObject = new Games(); |
|
|
String expected = "Yakuza: Dead Souls"; |
|
|
String expected = "Yakuza: Dead Souls"; |
|
|
String actual = testObject.checkUskEighteen(); |
|
|
String actual = testObject.checkUskEighteen(); |
|
|
assertEquals(expected, actual); |
|
|
assertEquals(expected, actual); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void test_checkPegiThree() { |
|
|
public void test_checkPegiThree() { |
|
|
Games testObject = new Games(); |
|
|
Games testObject = new Games(); |
|
|
String expected = "Ratchet & Clank, Rhythm Paradise, Tomodachi Life, Beautiful Katamari"; |
|
|
String expected = "Ratchet & Clank, Rhythm Paradise, Tomodachi Life, Beautiful Katamari"; |
|
|
String actual = testObject.checkPegiThree(); |
|
|
String actual = testObject.checkPegiThree(); |
|
|
assertEquals(expected, actual); |
|
|
assertEquals(expected, actual); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void test_checkPegiSeven() { |
|
|
public void test_checkPegiSeven() { |
|
|
Games testObject = new Games(); |
|
|
Games testObject = new Games(); |
|
|
String expected = "Crash Bandicoot N. Sane Trilogy"; |
|
|
String expected = "Crash Bandicoot N. Sane Trilogy"; |
|
|
String actual = testObject.checkPegiSeven(); |
|
|
String actual = testObject.checkPegiSeven(); |
|
|
assertEquals(expected, actual); |
|
|
assertEquals(expected, actual); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void test_checkPegiTwelve() { |
|
|
public void test_checkPegiTwelve() { |
|
|
Games testObject = new Games(); |
|
|
Games testObject = new Games(); |
|
|
String expected = "Fire Emblem: Three Houses, Triangle Strategy, Super Smash Bros. Ultimate, Persona 3 Portable, Atelier Totori Plus"; |
|
|
String expected = "Fire Emblem: Three Houses, Triangle Strategy, Super Smash Bros. Ultimate, Persona 3 Portable, Atelier Totori Plus"; |
|
|
String actual = testObject.checkPegiTwelve(); |
|
|
String actual = testObject.checkPegiTwelve(); |
|
|
assertEquals(expected, actual); |
|
|
assertEquals(expected, actual); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void test_checkPegiSixteen() { |
|
|
public void test_checkPegiSixteen() { |
|
|
Games testObject = new Games(); |
|
|
Games testObject = new Games(); |
|
|
String expected = "Persona 5 Royal, Astral Chain"; |
|
|
String expected = "Persona 5 Royal, Astral Chain"; |
|
|
String actual = testObject.checkPegiSixteen(); |
|
|
String actual = testObject.checkPegiSixteen(); |
|
|
assertEquals(expected, actual); |
|
|
assertEquals(expected, actual); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void test_checkPegiEighteen() { |
|
|
public void test_checkPegiEighteen() { |
|
|
Games testObject = new Games(); |
|
|
Games testObject = new Games(); |
|
|
String expected = "Yakuza: Dead Souls, Breakdown, AI: The Somnium Files"; |
|
|
String expected = "Yakuza: Dead Souls, Breakdown, AI: The Somnium Files"; |
|
|
String actual = testObject.checkPegiEighteen(); |
|
|
String actual = testObject.checkPegiEighteen(); |
|
|
assertEquals(expected, actual); |
|
|
assertEquals(expected, actual); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void test_checkPegiUnknown() { |
|
|
public void test_checkPegiUnknown() { |
|
|
Games testObject = new Games(); |
|
|
Games testObject = new Games(); |
|
|
String expected = "Jet Set Radio Future"; |
|
|
String expected = "Jet Set Radio Future"; |
|
@ -304,4 +304,3 @@ public class GamesTest extends TestCase { |
|
|
assertEquals(expected, actual); |
|
|
assertEquals(expected, actual); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|