From 0f3818c1ec21265028dda2c871b2e91967321152 Mon Sep 17 00:00:00 2001 From: marcojakob Date: Sat, 4 Oct 2014 17:10:16 +0200 Subject: [PATCH] Fix unit test --- test/kara/greenfoot/sokoban/HighscoreTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/kara/greenfoot/sokoban/HighscoreTest.java b/test/kara/greenfoot/sokoban/HighscoreTest.java index 5028c39..089f28b 100644 --- a/test/kara/greenfoot/sokoban/HighscoreTest.java +++ b/test/kara/greenfoot/sokoban/HighscoreTest.java @@ -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); @@ -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