コード例 #1
0
        public void TestOne()
        {
            DiceMoves solution = new DiceMoves();

            int[] test   = new[] { 1, 2, 3 };
            var   result = solution.solution(test);

            result.Should().Be(2);
        }
コード例 #2
0
        public void TestFive()
        {
            DiceMoves solution = new DiceMoves();

            int[] test   = new[] { 1, 1, 6, 6, 2, 3, 1 };
            var   result = solution.solution(test);

            result.Should().Be(6);
        }