FC18: Deleted 8 bit muffin sequence
This commit is contained in:
parent
5a27562ba0
commit
8a7bfff19b
13 changed files with 22 additions and 171 deletions
|
|
@ -28,7 +28,6 @@ import java.util.List;
|
|||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.x4o.fc18.cake2.FourCornerX06BaklavaPointSequence;
|
||||
import org.x4o.fc18.cake2.FourCornerX08MuffinPointSequence;
|
||||
import org.x4o.fc18.cake2.FourCornerX18CakePointSequence;
|
||||
import org.x4o.fc18.cake2.pie9c.FCDotPIE9CDash10;
|
||||
import org.x4o.fc18.cake2.pie9c.FCDotPIE9CDash26;
|
||||
|
|
@ -103,27 +102,6 @@ public class FourCornerUnicodeImportTest {
|
|||
Assertions.assertEquals("␇␇␇]FOO␘␘␘BAR", FourCornerUnicodeDisplay.raw().renderFromX06(cdc));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAsciiMixedX08() throws Exception {
|
||||
List<FourCornerX08MuffinPointSequence> cdc = FourCornerUnicodeImport.strict().convertToX08("fooBAR");
|
||||
Iterator<FourCornerX08MuffinPointSequence> cdi = cdc.iterator();
|
||||
Assertions.assertNotNull(cdc);
|
||||
Assertions.assertFalse(cdc.isEmpty());
|
||||
Assertions.assertEquals(9, cdc.size());
|
||||
Assertions.assertEquals(FCDotDEC2701DashPX0.ESC68_2PIE9C, cdi.next());
|
||||
Assertions.assertEquals(FCDotCDC1604DashP6.NY26_SQUARE_RIGHT, cdi.next());
|
||||
Assertions.assertEquals(FCDotCDC1604DashP6.NX06_F, cdi.next());
|
||||
Assertions.assertEquals(FCDotCDC1604DashP6.NX15_O, cdi.next());
|
||||
Assertions.assertEquals(FCDotCDC1604DashP6.NX15_O, cdi.next());
|
||||
Assertions.assertEquals(FCDotDEC2701DashPX0.ESC_STOP, cdi.next());
|
||||
Assertions.assertEquals(FCDotCDC1604DashP6.NX02_B, cdi.next());
|
||||
Assertions.assertEquals(FCDotCDC1604DashP6.NX01_A, cdi.next());
|
||||
Assertions.assertEquals(FCDotCDC1604DashP6.NX18_R, cdi.next());
|
||||
|
||||
String out = FourCornerUnicodeDisplay.text().renderFromX08(cdc);
|
||||
Assertions.assertEquals("fooBAR", out);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAsciiMixedX18() throws Exception {
|
||||
List<FourCornerX18CakePointSequence> cdc = FourCornerUnicodeImport.strict().convertToX18("fooBAR");
|
||||
|
|
@ -188,28 +166,6 @@ public class FourCornerUnicodeImportTest {
|
|||
Assertions.assertEquals("01201337", out);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testNumberX08() throws Exception {
|
||||
List<FourCornerX08MuffinPointSequence> cdc = FourCornerUnicodeImport.strict().convertToX08("01201337");
|
||||
Iterator<FourCornerX08MuffinPointSequence> cdi = cdc.iterator();
|
||||
Assertions.assertNotNull(cdc);
|
||||
Assertions.assertFalse(cdc.isEmpty());
|
||||
Assertions.assertEquals(10, cdc.size());
|
||||
Assertions.assertEquals(FCDotDEC2701DashPX0.ESC68_2PIE9C, cdi.next());
|
||||
Assertions.assertEquals(FCDotCDC1604DashP6.NY10_CARET, cdi.next());
|
||||
Assertions.assertEquals(FCDotCDC1604DashP6.NX01_A, cdi.next()); // 0
|
||||
Assertions.assertEquals(FCDotCDC1604DashP6.NX02_B, cdi.next()); // 1
|
||||
Assertions.assertEquals(FCDotCDC1604DashP6.NX03_C, cdi.next()); // 2
|
||||
Assertions.assertEquals(FCDotCDC1604DashP6.NX01_A, cdi.next()); // 0
|
||||
Assertions.assertEquals(FCDotCDC1604DashP6.NX02_B, cdi.next()); // 1
|
||||
Assertions.assertEquals(FCDotCDC1604DashP6.NX04_D, cdi.next()); // 3
|
||||
Assertions.assertEquals(FCDotCDC1604DashP6.NX04_D, cdi.next()); // 3
|
||||
Assertions.assertEquals(FCDotCDC1604DashP6.NX08_H, cdi.next()); // 7
|
||||
|
||||
String out = FourCornerUnicodeDisplay.text().renderFromX08(cdc);
|
||||
Assertions.assertEquals("01201337", out);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testNumberX18() throws Exception {
|
||||
List<FourCornerX18CakePointSequence> cdc = FourCornerUnicodeImport.strict().convertToX18("01201337");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue