public void FibonacciMatrixPost_IncorrectString_ReturnsPartialViewWithFlagFalse()
        {
            var controller = new BasicAlgorithmsController();

            var partialView = controller.FibonacciMatrix("10a");

            Assert.AreEqual(false, ((ResultsViewModel)partialView.Model).Success);
        }
        public void FibonacciMatrixPost_CorrectString_ReturnsPartialViewWithFlagTrueAndResultFromImplementations()
        {
            var basicAlgorithmsMock = new Mock<BasicAlgorithms>();
            basicAlgorithmsMock.Setup(m => m.FibonacciNumber(10)).Returns(55);
            var controller = new BasicAlgorithmsController(basicAlgorithmsMock.Object);

            var partialView = controller.FibonacciMatrix("10");

            Assert.AreEqual(true, ((ResultsViewModel)partialView.Model).Success);
            Assert.AreEqual("55", ((ResultsViewModel)partialView.Model).Result);
        }