Пример #1
0
        public void SquareRootTest()
        {
            //Arrange
            ISingleValueCompute newOne = new SingleValue();

            //Act
            decimal actual   = newOne.ComputeIt(400, OperationType.SquareRoot);
            decimal expected = 20;

            //Assert
            Assert.That(actual, Is.EqualTo(expected));
        }