public void PositionInRange_ShouldReturnValidResult_ForUInt16() { // Arrange. UInt16 target = 65; UInt16 lowerBoundary = 50; UInt16 upperBoundary = 150; // Act. var result = target.PositionInRange(lowerBoundary, upperBoundary); // Assert. result.Should().Be(0.15d); }