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

            Assert.AreEqual(49, result);
        }
Пример #3
0
        public void SubsTest2()
        {
            double result = Calc.Sub(43, 3);

            Assert.IsNotNull(result);
        }
Пример #4
0
 public Form1()
 {
     InitializeComponent();
     C           = new Calc();
     label1.Text = "0";
 }