public void TestMethod3() { var conntroller = new ValuesController(); var result3 = conntroller.CalculBMI(0, 0); Assert.AreEqual(0, result3); }
public void TestMethod5() { var conntroller = new ValuesController(); var result5 = conntroller.CalculBMI(18, 3); Assert.AreEqual(2, result5); }
public void TestMethod4() { var conntroller = new ValuesController(); var result4 = conntroller.CalculBMI(4, 2); Assert.AreEqual(1, result4); }
public void TestMethod2() { var conntroller = new ValuesController(); var result2 = conntroller.CalculBMI(2, 2); Assert.AreEqual(0.5, result2); }
public void TestMethod1() { // Arrang var conntroller = new ValuesController(); //Act var result = conntroller.CalculBMI(1, 1); //Assert Assert.AreEqual(1, result); }