diff --git a/nx01-x4o-fc18/src/main/java/org/x4o/fc18/FourCornerUnicodeDisplay.java b/nx01-x4o-fc18/src/main/java/org/x4o/fc18/FourCornerUnicodeDisplay.java index cc18a8a..f0f4ed2 100644 --- a/nx01-x4o-fc18/src/main/java/org/x4o/fc18/FourCornerUnicodeDisplay.java +++ b/nx01-x4o-fc18/src/main/java/org/x4o/fc18/FourCornerUnicodeDisplay.java @@ -156,10 +156,6 @@ public class FourCornerUnicodeDisplay { output.appendCodePoint(FCDotPIE9DDash09.IMG_ESC_DEC.codePointDotIndex()); } // TODO: rm after file loading - if (FourCornerDotCake.FC_UWU0101_S1.equals(slice)) { - output.append("1"); - return true; - } if (FourCornerDotCake.FC_F4TXT0001_SP.equals(slice)) { output.appendCodePoint(' '); return true; diff --git a/nx01-x4o-fc18/src/test/java/org/x4o/fc18/cake2/gram5/FCNumberGramTest.java b/nx01-x4o-fc18/src/test/java/org/x4o/fc18/cake2/gram5/FCNumberGramTest.java index a4e383a..5c0325d 100644 --- a/nx01-x4o-fc18/src/test/java/org/x4o/fc18/cake2/gram5/FCNumberGramTest.java +++ b/nx01-x4o-fc18/src/test/java/org/x4o/fc18/cake2/gram5/FCNumberGramTest.java @@ -53,6 +53,9 @@ public class FCNumberGramTest { public void testCutArguFail() throws Exception { List 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)); });