Exemplo n.º 1
0
        public void CanUserMultiplication()
        {
            var operation = new Operation(10, 2);
            var result = new Multiplication(operation).Run();

            Assert.AreEqual(20, result);
        }
Exemplo n.º 2
0
        public void CanUseAddition()
        {
            var operation = new Operation(10, 2);
            var result = new Addition(operation).Run();

            Assert.AreEqual(12, result);
        }