Update src/test/java/fr/iut_fbleau/info/but3/automation/rock_paper_scissors/play/spi/RandomCpuPickerTest.java
All checks were successful
rock-paper-scissors/pipeline/head This commit looks good
rock-paper-scissors/pipeline/pr-main This commit looks good

Change in the expected number of possible strokes and new possible stroke for the CPU
This commit is contained in:
2025-11-29 19:55:45 +01:00
parent 556908555a
commit 5ced2b83e2

View File

@@ -20,9 +20,10 @@ class RandomCpuPickerTest {
obtainedMoves.add(picker.pick());
}
assertEquals(3, obtainedMoves.size());
assertEquals(4, obtainedMoves.size());
assertTrue(obtainedMoves.contains(Move.ROCK));
assertTrue(obtainedMoves.contains(Move.PAPER));
assertTrue(obtainedMoves.contains(Move.SCISSORS));
assertTrue(obtainedMoves.contains(Move.WELL));
}
}