Beispiel #1
0
 public void SubsTest3()
 {
     Assert.IsNaN(Calc.Sub(Double.NaN, 666));
 }
Beispiel #2
0
        public void SubsTest1()
        {
            double result = Calc.Sub(43, 3);

            Assert.AreEqual(49, result);
        }
Beispiel #3
0
        public void SubsTest2()
        {
            double result = Calc.Sub(43, 3);

            Assert.IsNotNull(result);
        }
Beispiel #4
0
 public Form1()
 {
     InitializeComponent();
     C           = new Calc();
     label1.Text = "0";
 }