示例#1
0
 @Test
 public void testCheckFalse() throws Exception {
   assertFalse(Shuntsu.check(P1, M9, P2));
   assertFalse(Shuntsu.check(P9, S2, S1));
   assertFalse(Shuntsu.check(S1, S2, S5));
   assertFalse(Shuntsu.check(HAK, HAT, CHN));
 }
示例#2
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));
 }