@Before public void setUp() { _factory = new PureFactory(); }
@Before public void setUp() { _factory = new PureFactory(); }
public final static void main(final String[] args) throws IOException { final Test2 pureSuite = new Test2(new PureFactory(), args[0]); pureSuite.testAll(); //Test2 nativeSuite = new Test2(new NativeFactory()); //nativeSuite.testAll(); }
@Before public void setUp() { _pureFactory = new PureFactory(); }
@Before public void setUp() throws Exception { try { _factory = new PureFactory(); } catch (final Exception e) { e.printStackTrace(); throw e; } }
public final static void main(final String[] args) throws IOException { final TestReaders pureSuite = newTestReaders(new PureFactory(), args[0]); pureSuite.testAll(); }
public final static void main(final String[] args) { final TestPrimes t = newTestPrimes(new PureFactory()); t.test1(); }
public final static void main(String[] args) { final TestFibInterpreted t = newTestFibInterpreted(new PureFactory()); t.initRules(); t.test1(5); }
public final static void main(String[] args) { TestFib t = newTestFib(new PureFactory()); t.test1(); t.test2(); t.test3(15); }
@Before public void setUp() { this._factory = new PureFactory(); this.zero = _factory.makeAFun("zero", 0, false); this.suc = _factory.makeAFun("suc", 1, false); this.plus = _factory.makeAFun("plus", 2, false); this.fib = _factory.makeAFun("fib", 1, false); this.tzero = _factory.makeAppl(this.zero); }
@Before public void setUp() { this._factory = new PureFactory(); this.zero = _factory.makeAFun("zero", 0, false); this.suc = _factory.makeAFun("suc", 1, false); this.plus = _factory.makeAFun("plus", 2, false); this.fib = _factory.makeAFun("fib", 1, false); this.tzero = _factory.makeAppl(this.zero); this.fail = _factory.parse("fail"); this.initRules(); }