mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-01-31 23:29:36 +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++) {
|
||||
testDeck.shuffle();
|
||||
List<ProgrammingCard> afterShuffle = testDeck.getCards();
|
||||
if (beforeShuffle != afterShuffle) {
|
||||
if (!beforeShuffle.equals(afterShuffle)) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user