示例#1
0
            public void TestDevNegative()
            {
                MyMath math = new MyMath();

                Assert.AreEqual(45, math.Dev(10, 20));
            }
示例#2
0
            public void IsDevInteger()
            {
                MyMath math = new MyMath();

                Assert.IsInstanceOf(typeof(double), math.Dev(20, 20));
            }
示例#3
0
            public void TestDevPositive()
            {
                MyMath math = new MyMath();

                Assert.AreEqual(0.5, math.Dev(10, 20));
            }