FC18: Forgot that api is incomplete sequence sometimes
This commit is contained in:
parent
f7b80957fb
commit
136088a332
2 changed files with 7 additions and 2 deletions
|
|
@ -249,6 +249,7 @@ public class FourCornerZionStenoGrapher {
|
|||
FourCornerX00PetitVide pieVide = slice.getVidePoints()[cakePoint - slice.getStart()];
|
||||
List<Integer> escSeq = pieVide.kaasX06BaklavaSequence().get().baklavaPointSequence();
|
||||
escSeq.forEach(v -> out.accept(v));
|
||||
outAdd(FCDotCDC1604DashP6.NS04_RAKA1_INTERROBANG.cakePointDotIndex()); // TODO: fix vide api
|
||||
return;
|
||||
}
|
||||
outAdd(cakePoint);
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@ import org.junit.jupiter.api.Assertions;
|
|||
import org.junit.jupiter.api.Test;
|
||||
import org.x4o.fc18.FourCornerUnicodeDisplay;
|
||||
import org.x4o.fc18.cake2.flag4.FCDotF4TTY0001DashNL;
|
||||
import org.x4o.fc18.cake2.zero33.FCDotCDC1604DashP6;
|
||||
import org.x4o.fc18.octal8.PrimordialOctal;
|
||||
import org.x4o.fc18.octal8.PrimordialOctalOrangeString;
|
||||
import org.x4o.fc18.zion7.flame4.FCFlameNumberTaste;
|
||||
|
|
@ -63,15 +64,18 @@ public class StenoGrapherTest {
|
|||
List<Integer> out = new ArrayList<>();
|
||||
FourCornerZion7Bereshit writerFC06 = FourCornerZionStenoGrapher.writerX06(out);
|
||||
writerFC06.strobeTheWord(0x00012D);
|
||||
Assertions.assertEquals(5, out.size());
|
||||
writerFC06.strobeTheWord(FCDotCDC1604DashP6.NX01_A.baklavaPointDotIndex());
|
||||
Assertions.assertEquals(7, out.size());
|
||||
Iterator<Integer> outTest = out.iterator();
|
||||
Assertions.assertEquals(2, outTest.next());
|
||||
Assertions.assertEquals(2, outTest.next());
|
||||
Assertions.assertEquals(2, outTest.next());
|
||||
Assertions.assertEquals(27, outTest.next());
|
||||
Assertions.assertEquals(37, outTest.next());
|
||||
Assertions.assertEquals(4, outTest.next());
|
||||
Assertions.assertEquals(37, outTest.next());
|
||||
String res = FourCornerUnicodeDisplay.text().renderFromInt18(out);
|
||||
Assertions.assertEquals("0", res);
|
||||
Assertions.assertEquals("0A", res);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue