public static void main(String[] args) throws Exception {
    TeaserWriterTest t = new TeaserWriterTest();

    if (modes[0].equals(mode)) {
      TestAll.run(new TestCase[] {t});
    } else if (modes[1].equals(mode)) {
      TestFerrari.testRandom(t);

    } else if (modes[2].equals(mode)) {
      t.setUp();
      t.testLastLWordsCaps();
      t.tearDown();
    }
  }
示例#2
0
  public static void main(String[] args) throws Exception {
    Cell3Test t = new Cell3Test();

    if (modes[0].equals(mode)) {
      TestAll.run(new TestCase[] {t});
    } else if (modes[1].equals(mode)) {
      TestFerrari.testRandom(t);

    } else if (modes[2].equals(mode)) {
      t.setUp();
      t.testAddOnEmptySet();
      t.tearDown();
    }
  }
  public static void main(String[] args) throws Exception {
    SortedBytesCharTest t = new SortedBytesCharTest();

    if (modes[0].equals(mode)) {
      TestAll.run(new TestCase[] {t});
    } else if (modes[1].equals(mode)) {
      TestFerrari.testRandom(t);

    } else if (modes[2].equals(mode)) {
      t.setUp();
      t.testEqualWithOffset();
      t.tearDown();
    }
  }