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

            var partialView = controller.RussianMultiplication("10a", "x");

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

            var partialView = controller.RussianMultiplication("10", "312");

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