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