Beispiel #1
0
        public void PositionInRange_ShouldReturnValidResult_ForUInt32()
        {
            // Arrange.
            UInt32 target        = 65;
            UInt32 lowerBoundary = 50;
            UInt32 upperBoundary = 150;

            // Act.
            var result = target.PositionInRange(lowerBoundary, upperBoundary);

            // Assert.
            result.Should().Be(0.15d);
        }