コード例 #1
0
ファイル: MahjongLogicTest.cs プロジェクト: Pircs/NaoMahjong
    public static void TestCombinations()
    {
        var list = new List <int> {
            1, 2, 3, 4, 5, 6, 7, 8
        };
        var result = MahjongLogic.Combination(list, 1);

        Debug.Log($"Total results: {result.Count}");
        for (int i = 0; i < result.Count; i++)
        {
            Debug.Log($"{i}: {string.Join(",", result[i])}");
        }
    }