예제 #1
0
        public void Decimal_ShouldBeUnique()
        {
            // Arrange
            const int min = 1;
            const int max = 50;
            const int fix = 6;

            // Act
            var result1 = _sut.Decimal(min, max, fix);
            var result2 = _sut.Decimal(min, max, fix);

            // Assert
            Assert.IsNotNull(result1);
            Assert.IsNotNull(result2);
            result1.ShouldNotBe(result2);
        }