Exemplo n.º 1
0
        public static void Puzzle014_Returns_Correct_Solution()
        {
            // Arrange
            object expected = 837799;

            // Act and Assert
            Puzzles.AssertSolution <Puzzle014>(expected);
        }
Exemplo n.º 2
0
        public static void Puzzle044_Returns_Correct_Solution()
        {
            // Arrange
            long expected = 5482660;

            // Act and Assert
            Puzzles.AssertSolution <Puzzle044>(expected);
        }
Exemplo n.º 3
0
        public static void Puzzle003_Returns_Correct_Solution(string value, long expected)
        {
            // Arrange
            string[] args = new[] { value };

            // Act and Assert
            Puzzles.AssertSolution <Puzzle003>(args, expected);
        }
Exemplo n.º 4
0
        public static void Puzzle024_Returns_Correct_Solution()
        {
            // Arrange
            long expected = 2783915460;

            // Act and Assert
            Puzzles.AssertSolution <Puzzle024>(expected);
        }
Exemplo n.º 5
0
        public static void Puzzle004_Returns_Correct_Solution(string digits, int expected)
        {
            // Arrange
            string[] args = new[] { digits };

            // Act and Assert
            Puzzles.AssertSolution <Puzzle004>(args, expected);
        }
Exemplo n.º 6
0
        public static void Puzzle049_Returns_Correct_Solution()
        {
            // Arrange
            long expected = 296962999629;

            // Act and Assert
            Puzzles.AssertSolution <Puzzle049>(expected);
        }
Exemplo n.º 7
0
        public static void Puzzle009_Returns_Correct_Solution()
        {
            // Arrange
            object expected = 31875000;

            // Act and Assert
            Puzzles.AssertSolution <Puzzle009>(expected);
        }
Exemplo n.º 8
0
        public static void Puzzle047_Returns_Correct_Solution(string factors, int expected)
        {
            // Arrange
            string[] args = new[] { factors };

            // Act and Assert
            Puzzles.AssertSolution <Puzzle047>(args, expected);
        }
Exemplo n.º 9
0
        public static void Puzzle048_Returns_Correct_Solution(string maximum, string expected)
        {
            // Arrange
            string[] args = new[] { maximum };

            // Act and Assert
            Puzzles.AssertSolution <Puzzle048>(args, expected);
        }
Exemplo n.º 10
0
        public static void Puzzle041_Returns_Correct_Solution()
        {
            // Arrange
            int expected = 7652413;

            // Act and Assert
            Puzzles.AssertSolution <Puzzle041>(expected);
        }
Exemplo n.º 11
0
        public static void Puzzle043_Returns_Correct_Solution()
        {
            // Arrange
            long expected = 16695334890;

            // Act and Assert
            Puzzles.AssertSolution <Puzzle043>(expected);
        }
Exemplo n.º 12
0
        public static void Puzzle038_Returns_Correct_Solution()
        {
            // Arrange
            int expected = 932718654;

            // Act and Assert
            Puzzles.AssertSolution <Puzzle038>(expected);
        }
Exemplo n.º 13
0
        public static void Puzzle021_Returns_Correct_Solution()
        {
            // Arrange
            long expected = 31626;

            // Act and Assert
            Puzzles.AssertSolution <Puzzle021>(expected);
        }
Exemplo n.º 14
0
        public static void Puzzle013_Returns_Correct_Solution()
        {
            // Arrange
            object expected = "5537376230";

            // Act and Assert
            Puzzles.AssertSolution <Puzzle013>(expected);
        }
Exemplo n.º 15
0
        public static void Puzzle022_Returns_Correct_Solution()
        {
            // Arrange
            int expected = 871198282;

            // Act and Assert
            Puzzles.AssertSolution <Puzzle022>(expected);
        }
Exemplo n.º 16
0
        public static void Puzzle045_Returns_Correct_Solution()
        {
            // Arrange
            long expected = 1533776805;

            // Act and Assert
            Puzzles.AssertSolution <Puzzle045>(expected);
        }
Exemplo n.º 17
0
        public static void Puzzle039_Returns_Correct_Solution()
        {
            // Arrange
            int expected = 840;

            // Act and Assert
            Puzzles.AssertSolution <Puzzle039>(expected);
        }
Exemplo n.º 18
0
        public static void Puzzle035_Returns_Correct_Solution(string maximum, int expected)
        {
            // Arrange
            var args = new[] { maximum };

            // Act and Assert
            Puzzles.AssertSolution <Puzzle035>(args, expected);
        }
Exemplo n.º 19
0
        public static void Puzzle012_Returns_Correct_Solution(string divisors, long expected)
        {
            // Arrange
            string[] args = new[] { divisors };

            // Act and Assert
            Puzzles.AssertSolution <Puzzle012>(args, expected);
        }
Exemplo n.º 20
0
        public static void Puzzle005_Returns_Correct_Solution(string max, int expected)
        {
            // Arrange
            string[] args = new[] { max };

            // Act and Assert
            Puzzles.AssertSolution <Puzzle005>(args, expected);
        }
Exemplo n.º 21
0
        public static void Puzzle028_Returns_Correct_Solution(string sides, int expected)
        {
            // Arrange
            string[] args = new[] { sides };

            // Act and Assert
            Puzzles.AssertSolution <Puzzle028>(args, expected);
        }
Exemplo n.º 22
0
        public static void Puzzle020_Returns_Correct_Solution(string number, int expected)
        {
            // Arrange
            string[] args = new[] { number };

            // Act and Assert
            Puzzles.AssertSolution <Puzzle020>(args, expected);
        }
Exemplo n.º 23
0
        public static void Puzzle031_Returns_Correct_Solution(string total, int expected)
        {
            // Arrange
            string[] args = new[] { total };

            // Act and Assert
            Puzzles.AssertSolution<Puzzle031>(args, expected);
        }
Exemplo n.º 24
0
        public static void Puzzle027_Returns_Correct_Solution()
        {
            // Arrange
            int expected = -59231;

            // Act and Assert
            Puzzles.AssertSolution <Puzzle027>(expected);
        }
Exemplo n.º 25
0
        public static void Puzzle023_Returns_Correct_Solution()
        {
            // Arrange
            int expected = 4179871;

            // Act and Assert
            Puzzles.AssertSolution <Puzzle023>(expected);
        }
Exemplo n.º 26
0
        public static void Puzzle011_Returns_Correct_Solution()
        {
            // Arrange
            object expected = 70600674;

            // Act and Assert
            Puzzles.AssertSolution <Puzzle011>(expected);
            Puzzles.AssertSolution <Puzzle011>(expected);
        }
Exemplo n.º 27
0
 public static void Puzzle033_Returns_Correct_Solution()
 {
     // Act and Assert
     Puzzles.AssertSolution <Puzzle033>(100);
 }