@@ -0,0 +1,517 @@
+package tests;%0A%0Aimport static org.junit.Assert.*;%0A%0Aimport org.junit.Test;%0Aimport logic.Score;%0A%0A%0Apublic class ScoreTests %7B%0A%0A%09@Test%0A%09public void test_initScore() %7B%0A%09%09Score score = new Score(2, 1);%0A%09%09%0A%09%09assertEquals(%22Score for Player 1 is not 2%22, 2, score.p1());%0A%09%09assertEquals(%22Score for Player 2 is not 1%22, 1, score.p2());%0A%09%7D%0A%09%0A%09@Test%0A%09public void test_toString() %7B%0A%09%09Score score = new Score(2, 1);%0A%09%09%0A%09%09assertEquals(%22toString is not correct%22, %22Score for Player 1: 2 - Score for Player 2: 1%22, score.toString());%0A%09%7D%0A%0A%7D%0A

Test cases for Score class