Esempio n. 1
0
        public void Subtraction_IsSubtracting()
        {
            var subtraction = new Subtraction();
            var rnd         = new Random();
            var a           = (Decimal)rnd.NextDouble();
            var b           = (Decimal)rnd.NextDouble();
            var result      = subtraction.DoOperation(a, b);

            Assert.AreEqual(a - b, result);
        }