Beispiel #1
0
 public void TestMethodABSException2()
 {
     double res = Calc.ABS(double.MaxValue + double.MaxValue);
 }
Beispiel #2
0
 public void TestMethodABS()
 {
     Assert.AreEqual(Calc.ABS(-112), 112);
 }
Beispiel #3
0
 public void TestMethodABSException1()
 {
     double res = Calc.ABS(double.MinValue - 77);
 }
Beispiel #4
0
        public void ABSTest()
        {
            Calc calc = new Calc();

            Assert.AreEqual(5, calc.ABS(5));
        }