Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
marcojakob committed Oct 4, 2014
1 parent fcf3b40 commit 0f3818c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/kara/greenfoot/sokoban/HighscoreTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public void testAddHighscoreEntry_MoreThanThreeEntries4() {
Highscore.Entry e1 = new Highscore.Entry("aaa", 50);
Highscore.Entry e2 = new Highscore.Entry("bbb", 60);
Highscore.Entry e3 = new Highscore.Entry("ccc", 70);
Highscore.Entry e4 = new Highscore.Entry("ddd", 60);
Highscore.Entry e4 = new Highscore.Entry("ddd", 55);

// when
highscore.addHighscoreEntry(e1);
Expand All @@ -145,8 +145,8 @@ public void testAddHighscoreEntry_MoreThanThreeEntries4() {

// then
assertTrue(entryEquals(highscore.getFirstEntry(), e1));
assertTrue(entryEquals(highscore.getSecondEntry(), e2));
assertTrue(entryEquals(highscore.getThirdEntry(), e4));
assertTrue(entryEquals(highscore.getSecondEntry(), e4));
assertTrue(entryEquals(highscore.getThirdEntry(), e2));
}

@Test
Expand Down

0 comments on commit 0f3818c

Please sign in to comment.