tf.prepareMore("rel[A, B] r = {<a(), b()>, <f(b(),b()), c()>};");
assertTrue(tf.runTestInSameEvaluator("top_down(rules3)(r) == {<a(), c()>, <f(c(),c()), c()>}"));
tf = new TestFramework();
tf.prepare("import StrategyTests;");
tf.prepareMore("import Strategy;");
tf.prepareMore("A t4 = f(g(b()),g(b()));");
assertTrue(tf.runTestInSameEvaluator("top_down(functionToStrategy(rules4))(t4) == f(g(c()),g(c()))"));
tf = new TestFramework();
tf.prepare("import StrategyTests;");
tf.prepareMore("import Strategy;");