From c849f4ba5516cab80a09c8ecde51ec2a885aa961 Mon Sep 17 00:00:00 2001 From: joffrey-bion Date: Tue, 16 Feb 2021 01:36:14 +0100 Subject: Better naming isEmpty->areEmpty --- .../src/test/kotlin/org/luxons/sevenwonders/engine/cards/HandsTest.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sw-engine/src/test/kotlin/org/luxons') 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 -- cgit