Exemplo n.º 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));
  }
Exemplo n.º 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));
  }
Exemplo n.º 3
0
 public void testEqualsNull() throws Exception {
   assertTrue("equals", !fType0.equals(null));
   assertTrue("equals", !fType3.equals(null));
 }
Exemplo n.º 4
0
 public void testEqualsTransivity() throws Exception {
   assertTrue("equals", fType0.equals(fType1));
   assertTrue("equals", fType1.equals(fType2));
   assertTrue("equals", fType0.equals(fType2));
 }