Beispiel #1
0
        public void checkadd()
        {
            var testadd = new myCode.code();
            var result  = testadd.Add(10.0, 10.0);

            Assert.AreEqual(20.0, result);
        }
Beispiel #2
0
        public void TakeTest()
        {
            var testadd = new myCode.code();
            var result  = testadd.Take(10.0, 10.0);

            Assert.AreEqual(0.0, result);
        }
Beispiel #3
0
 public void TakeTest()
 {
     var testadd = new myCode.code();
     var result = testadd.Take(10.0, 10.0);
     Assert.AreEqual(0.0, result);
 }
Beispiel #4
0
 public void checkadd()
 {
     var testadd = new myCode.code();
     var result = testadd.Add(10.0, 10.0);
     Assert.AreEqual(20.0, result);
 }