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