|
|
@ -12,9 +12,9 @@ class AblageStackTest { |
|
|
|
|
|
|
|
@ParameterizedTest |
|
|
|
@MethodSource("testAblageStackTestDaten") |
|
|
|
void testRulesetAblageStack(String msg, Card _stapel, Card _spieler, boolean _expectedResult) { |
|
|
|
void testRulesetAblageStack(String _msg, Card _stapel, Card _spieler, boolean _expectedResult) { |
|
|
|
AblageStack stack = new AblageStack(0, 0, Symbol.Kreuz); |
|
|
|
assertEquals(_expectedResult, stack.cardCheck(_stapel, _spieler), msg); |
|
|
|
assertEquals(_expectedResult, stack.cardCheck(_stapel, _spieler), _msg); |
|
|
|
} |
|
|
|
|
|
|
|
private static Stream<Arguments> testAblageStackTestDaten(){ |
|
|
|