System.err.println("expanding...");
Tree t = r2.expand1();
- TestCase[] expanded = (TestCase[])((Demo.Reducer)t.head()).reduce(t.children());
+ TestCase[] expanded = (TestCase[])((Functor)t.head()).invoke(t.children());
System.err.println("executing...");
for(TestCase tc : expanded) {
tc.execute();