summaryrefslogtreecommitdiff
path: root/transpile-tests/src/test/java/com/seaofnodes
diff options
context:
space:
mode:
authorCliff Click <cliffc@acm.org>2026-10-03 14:03:48 -0700
committerCliff Click <cliffc@acm.org>2026-10-03 14:03:48 -0700
commit22df891893d30e9906d0b14fc3ae5d8e67d500b2 (patch)
tree2bda142f92febc8b26f1cabd4bb0c46d1864f34b /transpile-tests/src/test/java/com/seaofnodes
parentc3958e34c0de21df52e57e47e4f47ffe6464f138 (diff)
downloadSimple-22df891893d30e9906d0b14fc3ae5d8e67d500b2.tar.gz
Simple-22df891893d30e9906d0b14fc3ae5d8e67d500b2.zip
Chapter renumber, and split ch 17
Renumber chapters 10a, 10b, 11, 12, 13, 14 -> 10, 11, 13, 12, [11,14]. Split ch 17 into a 17a and 17b; shuffle around im/mutable syntax to be consistent, and present it more slowly. THe new immutable syntax is pushed through all later chapters
Diffstat (limited to 'transpile-tests/src/test/java/com/seaofnodes')
-rw-r--r--transpile-tests/src/test/java/com/seaofnodes/simple/transpile/TranspilerTest.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/transpile-tests/src/test/java/com/seaofnodes/simple/transpile/TranspilerTest.java b/transpile-tests/src/test/java/com/seaofnodes/simple/transpile/TranspilerTest.java
index a2c3a782..fb6384ee 100644
--- a/transpile-tests/src/test/java/com/seaofnodes/simple/transpile/TranspilerTest.java
+++ b/transpile-tests/src/test/java/com/seaofnodes/simple/transpile/TranspilerTest.java
@@ -15,6 +15,8 @@ public class TranspilerTest {
assertEquals("transpile-tests", cwd.getFileName().toString());
var all = JUnitParser.parseRepository(cwd.getParent());
assertTrue(all.size() >= 14);
+ assertTrue(all.get("chapter17a").stream().anyMatch(c -> c.name().equals("Chapter17aTest")));
+ assertTrue(all.get("chapter17b").stream().anyMatch(c -> c.name().equals("Chapter17bTest")));
var chapter09 = all.get("chapter09");
assertEquals(9, chapter09.size());