public void IndexTest()
        {
            OhmValueCalculator      ohmValueCalculator = new OhmValueCalculator();
            OhmCalculatorController controller         = new OhmCalculatorController(ohmValueCalculator);
            var result = controller.Index();

            Assert.IsInstanceOfType(result, typeof(ViewResult));
        }
Example #2
0
        public void IndexTest()
        {
            OhmCalculatorController target   = new OhmCalculatorController(); // TODO: Initialize to an appropriate value
            ActionResult            expected = null;                          // TODO: Initialize to an appropriate value
            ActionResult            actual;

            actual = target.Index();
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }