From b071b6bd3d0884accb702a44bea6f37595dd2600 Mon Sep 17 00:00:00 2001 From: Cliff Click Date: Fri, 19 Jul 2024 16:25:26 -0700 Subject: minimal empty test so "make" doesnt complain --- .../src/test/java/com/seaofnodes/simple/Chapter12Test.java | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'chapter12') diff --git a/chapter12/src/test/java/com/seaofnodes/simple/Chapter12Test.java b/chapter12/src/test/java/com/seaofnodes/simple/Chapter12Test.java index d3615978..9c352533 100644 --- a/chapter12/src/test/java/com/seaofnodes/simple/Chapter12Test.java +++ b/chapter12/src/test/java/com/seaofnodes/simple/Chapter12Test.java @@ -8,5 +8,16 @@ import org.junit.Test; import static org.junit.Assert.assertEquals; public class Chapter12Test { + // A placeholder test used to rapidly rotate through fuzzer produced issues + @Test + public void testFuzzer() { + Parser parser = new Parser( +""" +return 0; +"""); + StopNode stop = parser.parse(false).iterate(true); + assertEquals("return 0;", stop.toString()); + assertEquals(0L, Evaluator.evaluate(stop, 0)); + } } -- cgit v1.2.3