public void TestDivideMethod()
        {
            BasicMaths bm     = new BasicMaths();
            double     result = bm.Divide(10, 2);

            Assert.AreEqual(result, 5);
        }
        public void Test_DivideMethod()
        {
            BasicMaths basicMaths = new BasicMaths();
            double     result     = basicMaths.Divide(10, 5);

            Assert.AreEqual(result, 2);
        }
Beispiel #3
0
        public void Test_DivideMethod()
        {
            BasicMaths bm  = new BasicMaths();
            double     res = bm.Divide(95, 19);

            Assert.AreEqual(res, 5);
        }
Beispiel #4
0
        public void DivideTest()
        {
            //Arrange
            BasicMaths div      = new BasicMaths();
            double     expected = 2;
            //Act
            double actual = div.Divide(20, 10);

            //Assert
            Assert.AreEqual(expected, actual);
        }
Beispiel #5
0
        public void Test_DivideMethod()
        {
            double r = BasicMaths.Divide(10, 5);

            Assert.AreEqual(r, 2);
        }