Ejemplo n.º 1
0
        public void Division_EQ_Test()
        {
            var calculator = new NormalCalculator();

            Assert.Equal(0.5, calculator.Division(1, 2));
            Assert.Equal(double.NaN, calculator.Division(1, 0));
        }
Ejemplo n.º 2
0
        public void Division_NonEQ_Test()
        {
            var calculator = new NormalCalculator();

            Assert.NotEqual(0.5, calculator.Division(1, 3));
        }