public void GreaterThan_Returned_For_More_Specific_Range(StatusCodeRange x, StatusCodeRange y) { var comparer = new StatusCodeRangeSpecificnessComparer(); var result = comparer.Compare(y, x); result.Should().BeGreaterThan(0); }
public void Equal_Returned_For_Conflicting_Ranges(StatusCodeRange x, StatusCodeRange y) { var comparer = new StatusCodeRangeSpecificnessComparer(); var result = comparer.Compare(x, y); result.Should().Be(0); }
public void LessThan_Returned_For_Less_Specific_Range(StatusCodeRange x, StatusCodeRange y) { var comparer = new StatusCodeRangeSpecificnessComparer(); var result = comparer.Compare(x, y); result.Should().BeLessThan(0); }