From 22df891893d30e9906d0b14fc3ae5d8e67d500b2 Mon Sep 17 00:00:00 2001 From: Cliff Click Date: Sat, 3 Oct 2026 14:03:48 -0700 Subject: 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 --- .../src/test/java/com/seaofnodes/simple/transpile/TranspilerTest.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'transpile-tests/src/test/java') 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()); -- cgit v1.2.3