public void IsInRange_With_Value_Not_In_Range_On_Edge_With_Maximum_Excluded_Returns_False() { IRange <int> range = 0.ToRange(100, RangeComparisonOptions.Create().WithMaximumExcluded()); var sut = new CompareInt32Range(); Assert.False(sut.IsInRange(100, range)); }
public void IsInRange_With_Value_Not_In_Range_On_Edge_Returns_False() { IRange <int> range = 0.ToRange(100); var sut = new CompareInt32Range(); Assert.False(sut.IsInRange(-1, range)); }
public void IsInRange_With_Value_In_Range_Returns_True() { IRange <int> range = 0.ToRange(100); var sut = new CompareInt32Range(); Assert.True(sut.IsInRange(10, range)); }