@@ -0,0 +1,1951 @@
+package org.mahjong4j;%0A%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0Aimport org.mahjong4j.hands.Kotsu;%0Aimport org.mahjong4j.hands.MahjongHands;%0Aimport org.mahjong4j.tile.MahjongTile;%0Aimport org.mahjong4j.yaku.normals.MahjongYakuEnum;%0Aimport org.mahjong4j.yaku.yakuman.MahjongYakumanEnum;%0A%0Aimport java.util.List;%0A%0Aimport static junit.framework.TestCase.assertEquals;%0Aimport static org.hamcrest.core.IsCollectionContaining.hasItems;%0Aimport static org.junit.Assert.assertThat;%0Aimport static org.mahjong4j.tile.MahjongTile.P7;%0Aimport static org.mahjong4j.yaku.normals.MahjongYakuEnum.SANANKO;%0Aimport static org.mahjong4j.yaku.normals.MahjongYakuEnum.TANYAO;%0Aimport static org.mahjong4j.yaku.normals.MahjongYakuEnum.TOITOIHO;%0A%0A/**%0A * @author yu1ro%0A */%0Apublic class SanankoTanyaoToitoihoTest %7B%0A    private MahjongHands hands;%0A    private Mahjong mahjong;%0A%0A    @Before%0A    public void setUp() throws Exception %7B%0A        int%5B%5D tiles = %7B%0A            0, 2, 0, 0, 0, 3, 0, 0, 0,%0A            0, 0, 3, 0, 0, 0, 0, 0, 0,%0A            0, 0, 0, 0, 0, 3, 0, 0, 0,%0A            0, 0, 0, 0,%0A            0, 0, 0%0A        %7D;%0A        MahjongTile last = MahjongTile.M4;%0A        hands = new MahjongHands(tiles, last, new Kotsu(true, P7));%0A        mahjong = new Mahjong(hands);%0A        mahjong.calculate();%0A    %7D%0A%0A    @Test%0A    public void testGetYakumanList() throws Exception %7B%0A        List%3CMahjongYakumanEnum%3E actual = mahjong.getYakumanList();%0A%0A        assertEquals(0, actual.size());%0A    %7D%0A%0A    @Test%0A    public void testGetNormalYakuListSize() throws Exception %7B%0A        int actualSize = mahjong.getNormalYakuList().size();%0A%0A        assertEquals(3, actualSize);%0A    %7D%0A%0A    @Test%0A    public void testGetNormalYakuListHasSanshokudohko() throws Exception %7B%0A        List%3CMahjongYakuEnum%3E actual = mahjong.getNormalYakuList();%0A        assertThat(actual, hasItems(SANANKO));%0A        assertThat(actual, hasItems(TANYAO));%0A        assertThat(actual, hasItems(TOITOIHO));%0A    %7D%0A%7D

add tanyao sananko toitoi test