Пример #1
0
        public void When_Number1_Is_Greater_Than_Number2_Then_IsGreaterThan_Should_Return_True(
            double doubleNumber1, double doubleNumber2)
        {
            // Arrange
            var number1 = _calculator.FromDouble(doubleNumber1);
            var number2 = _calculator.FromDouble(doubleNumber2);

            // Act
            var comparison = _calculator.IsGreaterThan(number1, number2);

            // Assert
            comparison.Should().BeTrue();
        }