예제 #1
0
  public void testEqualsSymmetry() throws Exception {
    assertTrue("equals", fType0.equals(fType1));
    assertTrue("equals", fType1.equals(fType0));

    assertTrue("equals", !fType0.equals(fType3));
    assertTrue("equals", !fType3.equals(fType0));
  }
예제 #2
0
  public void testEqualsReflexivity() throws Exception {
    assertTrue("equals", fType0.equals(fType0));
    assertTrue("equals", fType3.equals(fType3));

    assertTrue("equals", !fType0.equals(fType3));
    assertTrue("equals", !fType3.equals(fType0));
  }
예제 #3
0
 public void testEqualsNull() throws Exception {
   assertTrue("equals", !fType0.equals(null));
   assertTrue("equals", !fType3.equals(null));
 }
예제 #4
0
 public void testEqualsTransivity() throws Exception {
   assertTrue("equals", fType0.equals(fType1));
   assertTrue("equals", fType1.equals(fType2));
   assertTrue("equals", fType0.equals(fType2));
 }