FC18: Updated unit test naming change of embedding six bit strings
This commit is contained in:
parent
62eca0d4b9
commit
d0cf13fe26
1 changed files with 2 additions and 2 deletions
|
|
@ -42,13 +42,13 @@ public class FourCornerRecipeTest {
|
||||||
public void testSandWalker() throws Exception {
|
public void testSandWalker() throws Exception {
|
||||||
List<Integer> cdc = new ArrayList<>();
|
List<Integer> cdc = new ArrayList<>();
|
||||||
Assertions.assertThrows(IllegalArgumentException.class, () -> {
|
Assertions.assertThrows(IllegalArgumentException.class, () -> {
|
||||||
FourCornerRecipe.embedSandWalker(cdc, List.of(PrimordialOctal.PART_1));
|
FourCornerRecipe.embedSandWalkerX06(cdc, List.of(PrimordialOctal.PART_1));
|
||||||
});
|
});
|
||||||
List<PrimordialOctal> octalMine = new ArrayList<>();
|
List<PrimordialOctal> octalMine = new ArrayList<>();
|
||||||
for (int i=0;i<24;i++) {
|
for (int i=0;i<24;i++) {
|
||||||
octalMine.add(PrimordialOctal.PART_1);
|
octalMine.add(PrimordialOctal.PART_1);
|
||||||
}
|
}
|
||||||
FourCornerRecipe.embedSandWalker(cdc, octalMine);
|
FourCornerRecipe.embedSandWalkerX06(cdc, octalMine);
|
||||||
String res = FourCornerUnicodeDisplay.text().renderFromInt18(cdc);
|
String res = FourCornerUnicodeDisplay.text().renderFromInt18(cdc);
|
||||||
Assertions.assertTrue(res.endsWith("PART_1PART_1"), "missing " + res);
|
Assertions.assertTrue(res.endsWith("PART_1PART_1"), "missing " + res);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue