Beispiel #1
0
        public void TestMethod3()
        {
            var conntroller = new ValuesController();
            var result3     = conntroller.CalculBMI(0, 0);

            Assert.AreEqual(0, result3);
        }
Beispiel #2
0
        public void TestMethod5()
        {
            var conntroller = new ValuesController();

            var result5 = conntroller.CalculBMI(18, 3);

            Assert.AreEqual(2, result5);
        }
Beispiel #3
0
        public void  TestMethod4()
        {
            var conntroller = new ValuesController();

            var result4 = conntroller.CalculBMI(4, 2);

            Assert.AreEqual(1, result4);
        }
Beispiel #4
0
        public void TestMethod2()
        {
            var conntroller = new ValuesController();

            var result2 = conntroller.CalculBMI(2, 2);

            Assert.AreEqual(0.5, result2);
        }
Beispiel #5
0
        public void TestMethod1()
        {
            // Arrang

            var conntroller = new ValuesController();

            //Act

            var result = conntroller.CalculBMI(1, 1);



            //Assert
            Assert.AreEqual(1, result);
        }