Examples of PureFactory


Examples of aterm.pure.PureFactory

  private ATerm lhs[];
  private ATerm rhs[];

  public final static void main(String[] args) {
    TestFibInterpreted t = new TestFibInterpreted(new PureFactory());

    t.initRules();
    t.test1(5);
  }
View Full Code Here

Examples of aterm.pure.PureFactory

  private AFun zero, suc, plus, fib;
  private ATermAppl tzero;

  public final static void main(String[] args) {
    TestFib t = new TestFib(new PureFactory());

    t.test1();
    t.test2();
    t.test3(15);
  }
View Full Code Here

Examples of aterm.pure.PureFactory

  ATermFactory factory;
  String srcdir;
  ATerm baseline;

  public final static void main(String[] args) throws IOException {
    TestReaders pureSuite = new TestReaders(new PureFactory(), args[0]);
    pureSuite.testAll();
  }
View Full Code Here

Examples of aterm.pure.PureFactory

   
    setUp();
  }
 
  public void setUp(){
    pureFactory = new PureFactory();
  }
View Full Code Here

Examples of aterm.pure.PureFactory

    }

  }

  public final static void main(String[] args) {
    PeanoTest test = new PeanoTest(Factory.getInstance(new PureFactory()));
    test.run1();
  }
View Full Code Here

Examples of aterm.pure.PureFactory

  public void run1() {
    Sun test = getYangFactory().makeSun_Pong(getYangFactory().makeMoon_Ping(getYangFactory().makeSun_Shi()));
  }

  public final static void main(String[] args) {
    CyclicTest test = new CyclicTest(YangFactory.getInstance(new PureFactory()));
    test.run1();
  }
View Full Code Here

Examples of aterm.pure.PureFactory

      ns2.isEqual(factory.NineSepsFromString("[\"m\",1,2,3,4,5,6,7,8,9,\"m2\",1,2,3,4,5,6,7,8,9,\"m2\"]")),
      "test append");
  }

  public final static void main(String[] args) {
    ListTest test = new ListTest(Factory.getInstance(new PureFactory()));

    test.run();
    return;
  }
View Full Code Here

Examples of aterm.pure.PureFactory

    testAssert(c.concatenation.equals("123"), "bottom-up");
  }

  public final static void main(String[] args) throws jjtraveler.VisitFailure, java.io.IOException {
    RoloTest test = new RoloTest(Factory.getInstance(new PureFactory()));
    directory = args[0];

    test.run();
    return;
  }
View Full Code Here

Examples of aterm.pure.PureFactory

  aterm.ATerm atermChar = factory.getPureFactory().parse("character(65)");
  testAssert(C.toTerm().isEqual(atermChar), "term representation of char");
    }

    public final static void main(String[] args) {
        BuiltinsTest test = new BuiltinsTest(Factory.getInstance(new PureFactory()));
        test.run();
        return;
    }
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.