diff options
author | joffrey-bion <joffrey.bion@gmail.com> | 2021-02-16 01:36:14 +0100 |
---|---|---|
committer | joffrey-bion <joffrey.bion@gmail.com> | 2021-02-16 02:24:33 +0100 |
commit | c849f4ba5516cab80a09c8ecde51ec2a885aa961 (patch) | |
tree | acc257782a5f1a0f158cf6d82fca10c1d294bddb /sw-engine/src/test/kotlin/org | |
parent | Add basic metrics (diff) | |
download | seven-wonders-c849f4ba5516cab80a09c8ecde51ec2a885aa961.tar.gz seven-wonders-c849f4ba5516cab80a09c8ecde51ec2a885aa961.tar.bz2 seven-wonders-c849f4ba5516cab80a09c8ecde51ec2a885aa961.zip |
Better naming isEmpty->areEmpty
Diffstat (limited to 'sw-engine/src/test/kotlin/org')
-rw-r--r-- | sw-engine/src/test/kotlin/org/luxons/sevenwonders/engine/cards/HandsTest.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw-engine/src/test/kotlin/org/luxons/sevenwonders/engine/cards/HandsTest.kt b/sw-engine/src/test/kotlin/org/luxons/sevenwonders/engine/cards/HandsTest.kt index 97920f3e..8921b558 100644 --- a/sw-engine/src/test/kotlin/org/luxons/sevenwonders/engine/cards/HandsTest.kt +++ b/sw-engine/src/test/kotlin/org/luxons/sevenwonders/engine/cards/HandsTest.kt @@ -42,13 +42,13 @@ class HandsTest { ) { assumeTrue(nbCardsPerPlayer >= 1) val hands = createHands(nbPlayers, nbCardsPerPlayer) - assertFalse(hands.isEmpty) + assertFalse(hands.areEmpty) } @Theory fun isEmpty_trueWhenAllEmpty(@FromDataPoints("nbPlayers") nbPlayers: Int) { val hands = createHands(nbPlayers, 0) - assertTrue(hands.isEmpty) + assertTrue(hands.areEmpty) } @Theory |