FC18: Updated tests for _SALAH_INTERROBANG unicode code point
This commit is contained in:
parent
774331cefc
commit
2efd06a713
3 changed files with 4 additions and 4 deletions
|
|
@ -224,6 +224,6 @@ public class FourCornerUnicodeDisplayTest {
|
|||
cdc.add(FCDotCDC1604DashP6.NX02_B); // B
|
||||
cdc.add(FCDotCDC1604DashP6._SALAH_INTERROBANG); // with ! as we droped out of escape mode by B being to large
|
||||
|
||||
Assertions.assertEquals("HOIT001__ONEHOIB!", FourCornerUnicodeDisplay.text().renderFromX06(cdc));
|
||||
Assertions.assertEquals("HOIT001__ONEHOIB‽", FourCornerUnicodeDisplay.text().renderFromX06(cdc));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -160,7 +160,7 @@ public class FourCornerUnicodeImportTest {
|
|||
List<FourCornerX06BaklavaPointSequence> cdc = FourCornerUnicodeImport.lossy().convertToX06(foobar);
|
||||
Assertions.assertNotNull(cdc);
|
||||
Assertions.assertFalse(cdc.isEmpty());
|
||||
Assertions.assertEquals("FOO???", FourCornerUnicodeDisplay.text().renderFromX06(cdc));
|
||||
Assertions.assertEquals("FOO¿¿¿", FourCornerUnicodeDisplay.text().renderFromX06(cdc));
|
||||
Assertions.assertThrows(IllegalArgumentException.class, () -> {
|
||||
FourCornerUnicodeImport.strict().convertToX06(foobar);
|
||||
});
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ public class FCDotVT06Test {
|
|||
cdc.addAll(FourCornerRecipe.toDecimalsX06(456));
|
||||
cdc.add(FCDotCDC1604DashP6._SALAH_INTERROBANG.baklavaPointDotIndex());
|
||||
|
||||
Assertions.assertEquals("␘␘␇AG␇␇␇^BCD?␇␇␇^EFG!", FourCornerUnicodeDisplay.raw().renderFromInt18(cdc));
|
||||
Assertions.assertEquals("␘␘␇AG␇␇␇^BCD¿␇␇␇^EFG‽", FourCornerUnicodeDisplay.raw().renderFromInt18(cdc));
|
||||
// TODO: Fix lexer embedded escapes, and display external with single unicode escape sign
|
||||
//Assertions.assertEquals("?AG?BCD?EFG!", FourCornerUnicodeDisplay.text().renderFromX06(cdc));
|
||||
}
|
||||
|
|
@ -61,6 +61,6 @@ public class FCDotVT06Test {
|
|||
cdc.addAll(FourCornerRecipe.toDecimalsX06(5));
|
||||
cdc.add(FCDotCDC1604DashP6._SALAH_INTERROBANG.baklavaPointDotIndex());
|
||||
|
||||
Assertions.assertEquals("␘␘␇CA␇␇␇^F!", FourCornerUnicodeDisplay.raw().renderFromInt18(cdc));
|
||||
Assertions.assertEquals("␘␘␇CA␇␇␇^F‽", FourCornerUnicodeDisplay.raw().renderFromInt18(cdc));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue