public void Value_ShouldReturnValue() { var sut = new ThresholdOption(); sut.ReceiveValue("80.51"); sut.Value.Should().Be(0.8051f); }
public void NoValue_ShouldReturnDefaultValue() { var sut = new ThresholdOption(); sut.ReceiveValue(null); sut.Value.Should().Be(0.9f); }