mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-02-01 07:39:35 +01:00
Bytter != med .equals i testShuffle()
This commit is contained in:
parent
326f4d5755
commit
8aa755237d
@ -93,7 +93,7 @@ public class ProgrammingCardDeckTest {
|
|||||||
for (int i = 0; i < 10; i++) {
|
for (int i = 0; i < 10; i++) {
|
||||||
testDeck.shuffle();
|
testDeck.shuffle();
|
||||||
List<ProgrammingCard> afterShuffle = testDeck.getCards();
|
List<ProgrammingCard> afterShuffle = testDeck.getCards();
|
||||||
if (beforeShuffle != afterShuffle) {
|
if (!beforeShuffle.equals(afterShuffle)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user