public void Validate_2Times2_Example3_IsSingular()
        {
            var solver =
                SystemOfLinearEquationsSolverTestExamples.Solver_2Times2_Example3();

            var solution = solver.Solve();

            Assert.That(solution.Result, Is.EqualTo(
                            SolveResult.IsSingular));
        }
        public void Solve_2Times2_Example3_IsSingular()
        {
            var solver =
                SystemOfLinearEquationsSolverTestExamples.Solver_2Times2_Example3();

            solver.Solve();
            var solution = solver.GetSolution();

            Assert.That(solution.Values[0], Is.EqualTo(0.0).Within(0.01).Percent);
            Assert.That(solution.Values[1], Is.EqualTo(0.0).Within(0.01).Percent);
        }