Examples of runTestInSameEvaluator()


Examples of org.rascalmpl.test.infrastructure.TestFramework.runTestInSameEvaluator()

   
    tf = new TestFramework();
    tf.prepare("import StrategyTests;");
    tf.prepareMore("import TopologicalStrategy;");
    tf.prepareMore("rel[value, value] r3 = {<a(), d()>, <a(), e()>, <d(), e()>, <a(), {<a(), e()>}>};");
    assertTrue(tf.runTestInSameEvaluator("topological_innermost(rules6)(r3) == {<h(aa()), h(dd())>, <h(aa()), h(ee())>, <h(dd()),h(ee())>, <h(aa()), {<h(aa()), h(ee())>}>}"));
   
    tf = new TestFramework();
    tf.prepare("import StrategyTests;");
    tf.prepareMore("import TopologicalStrategy;");
    tf.prepareMore("rel[value, value] r3 = {<a(), d()>, <a(), e()>, <d(), e()>, <a(), {<a(), e()>}>};");
View Full Code Here

Examples of org.rascalmpl.test.infrastructure.TestFramework.runTestInSameEvaluator()

   
    tf = new TestFramework();
    tf.prepare("import StrategyTests;");
    tf.prepareMore("import TopologicalStrategy;");
    tf.prepareMore("rel[value, value] r3 = {<a(), d()>, <a(), e()>, <d(), e()>, <a(), {<a(), e()>}>};");
    assertTrue(tf.runTestInSameEvaluator("topological_outermost(rules6)(r3) == {<h(aa()), h(dd())>, <h(aa()), h(ee())>, <h(dd()),h(ee())>, <h(aa()), {<h(aa()), h(ee())>}>}"));
  }
 
  @Test @Ignore
  public void testCyclicStrategy(){
    prepare("import StrategyTests;");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.