Ejemplo n.º 1
0
 @Test
 public void testHashCode() throws Exception {
   assertEquals(open.hashCode(), equal.hashCode());
   assertNotEquals(open.hashCode(), close.hashCode());
   assertNotEquals(open.hashCode(), openTrue.hashCode());
 }
Ejemplo n.º 2
0
 @Test
 public void testGetTile() throws Exception {
   assertEquals(M2, open.getTile());
   assertEquals(M2, close.getTile());
   assertEquals(P3, openTrue.getTile());
 }