public void TestSolveAll()
        {
            int  expectedAnswer = 26 + 437 + 12240 + 13632;
            long answer         = HomeworkSolver.SolveAll(this.testData);

            Assert.AreEqual(expectedAnswer, answer);
        }
        public void FindAnserDayEighteenPuzzleOne()
        {
            long answer = HomeworkSolver.SolveAll(this.inputData);

            Assert.AreEqual(11004703763391, answer);
        }
        public void TestSolve(int iProblem, int expectedAnswer)
        {
            long answer = HomeworkSolver.Solve(this.testData[iProblem]);

            Assert.AreEqual(expectedAnswer, answer);
        }
        public void TestFindEndParenthesis(string problem, int expectedIndex)
        {
            int index = HomeworkSolver.FindEndParenthesis(problem);

            Assert.AreEqual(expectedIndex, index);
        }
        public void TestGetArgument(string problem, int expectedArgument)
        {
            long argument = HomeworkSolver.GetArgument(ref problem);

            Assert.AreEqual(expectedArgument, argument);
        }
        public void TestSolveSimple(string problem, int expectedAnswer)
        {
            long answer = HomeworkSolver.Solve(problem);

            Assert.AreEqual(expectedAnswer, answer);
        }
 public void Setup()
 {
     this.testData  = HomeworkSolver.ReadFileAsArray(FilePathTestData);
     this.inputData = HomeworkSolver.ReadFileAsArray(FilePathInputData);
 }