public void Calculate_4_Returns2()
        {
            // Act
            var squareRoot = calc.Calculate(4);

            // Assert
            Assert.AreEqual(2, squareRoot);
        }
Ejemplo n.º 2
0
        public /*async  Task */ void Calculate_4_Returns2()
        {
            //Act
            //var squareRoot = await calc.Calculate(4);

            var squareRoot = calc.Calculate(4);

            //Assert
            Assert.AreEqual(2, squareRoot);
        }