@@ -0,0 +1,1490 @@
+package org.mahjong4j.hands;%0A%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0A%0Aimport static org.junit.Assert.*;%0Aimport static org.mahjong4j.tile.MahjongTile.*;%0A%0A/**%0A * @author yu1ro%0A */%0Apublic class KotsuTest %7B%0A    private Kotsu open;%0A    private Kotsu close;%0A    private Kotsu closeFls;%0A%0A    @Before%0A    public void setUp() throws Exception %7B%0A        open = new Kotsu(true, TON);%0A        close = new Kotsu(false, SHA, SHA, SHA);%0A        closeFls = new Kotsu(false, HAK, HAK, CHN);%0A    %7D%0A%0A    @Test%0A    public void testCheckTrue() throws Exception %7B%0A        assertTrue(Kotsu.check(S2, S2, S2));%0A        assertTrue(Kotsu.check(HAK, HAK, HAK));%0A        assertTrue(Kotsu.check(NAN, NAN, NAN));%0A    %7D%0A%0A    @Test%0A    public void testCheckFalse() throws Exception %7B%0A        assertFalse(Kotsu.check(P2, P2, P4));%0A        assertFalse(Kotsu.check(HAK, CHN, CHN));%0A        assertFalse(Kotsu.check(TON, NAN, SHA));%0A    %7D%0A%0A    @Test%0A    public void testGetTile() throws Exception %7B%0A        assertEquals(TON, open.getTile());%0A        assertEquals(SHA, close.getTile());%0A        assertNull(closeFls.getTile());%0A    %7D%0A%0A    @Test%0A    public void testGetIsMentsu() throws Exception %7B%0A        assertTrue(open.getIsMentsu());%0A        assertTrue(close.getIsMentsu());%0A        assertFalse(closeFls.getIsMentsu());%0A    %7D%0A%0A    @Test%0A    public void testGetIsOpen() throws Exception %7B%0A        assertTrue(open.getIsOpen());%0A        assertFalse(close.getIsOpen());%0A        assertFalse(closeFls.getIsOpen());%0A    %7D%0A%7D

add Kotsu test. 刻子のテストを追加