コード例 #1
0
        public void Test_DivideMethod()
        {
            BasicMaths bm  = new BasicMaths();
            double     res = bm.divide(10, 2);

            Assert.AreEqual(res, 5);
        }
コード例 #2
0
        public void Test_DivideMethod()
        {
            BasicMaths basicMaths = new BasicMaths();
            double     res        = basicMaths.divide(20, 5);

            Assert.AreEqual(res, 4);
        }