Example #1
0
 @Test
 public void testEquals() throws Exception {
   assertTrue(open.equals(equal));
   assertFalse(open.equals(close));
   assertFalse(open.equals(openTrue));
 }
Example #2
0
 @Test
 public void testGetIsMentsu() throws Exception {
   assertTrue(open.isMentsu());
   assertTrue(close.isMentsu());
   assertTrue(openTrue.isMentsu());
 }
Example #3
0
 @Test
 public void testGetIsOpenT() throws Exception {
   assertTrue(open.isOpen());
   assertTrue(openTrue.isOpen());
 }
Example #4
0
 @Test
 public void testCheckTrue() throws Exception {
   assertTrue(Shuntsu.check(M4, M5, M6));
   assertTrue(Shuntsu.check(S8, S6, S7));
   assertTrue(Shuntsu.check(P4, P3, P2));
 }