public void testCompareTo() { assert("Test compareTo()", (tst.compareTo(new SimpleName(name)) == 0)); assert("Test compareTo()", (tst.compareTo(new SimpleMulti(name)) > 0)); assert("Test compareTo()", (tst.compareTo(new SimpleName("a")) < 0)); }  public static Test suite() { return new TestSuite(SimpleNameTest.class); }
  public void testEquals() {    assert("Test equals()", tst.equals(new SimpleName(name)));  }  public void testCompareTo() {    assert("Test compareTo()", (tst.compareTo(new SimpleName(name)) == 0));    assert("Test compareTo()", (tst.compareTo(new SimpleMulti(name)) > 0));    assert("Test compareTo()", (tst.compareTo(new SimpleName("a")) < 0));  }  public static Test suite() {    return new TestSuite(SimpleNameTest.class);  }