FC18: Corrected number gram cut 10 max value cut count size check

This commit is contained in:
Willem Cazander 2025-08-25 16:46:20 +02:00
parent 8c43b8dd63
commit 4c2fbcfe2b
2 changed files with 3 additions and 4 deletions

View file

@ -53,6 +53,9 @@ public class FCNumberGramTest {
public void testCutArguFail() throws Exception {
List<Integer> out = new ArrayList<>();
FourCornerZion7Candlelier writer = FourCornerZionStenoGrapher.writerX18(out);
Assertions.assertThrows(IllegalArgumentException.class, () -> {
writer.strobeNumberGrams(FourCornerZion7NumberGram.CUT_10, List.of(10));
});
Assertions.assertThrows(IllegalArgumentException.class, () -> {
writer.strobeNumberGrams(FourCornerZion7NumberGram.CUT_10, List.of(11));
});