def test_repr_contains_bound_parameter(self): assert_predicate_name_equals(interval.open(0, 1), "open(0, 1)")
def test_returns_true_for_inclusive_edge_value( self, value: float, boundaries: Boundaries) -> None: assert interval.open(*boundaries)(value) is True
def test_returns_false_for_exclusive_outside_value( self, value: float, boundaries: Boundaries) -> None: assert interval.open(*boundaries)(value) is False
def test_returns_true_for_middle_value(self) -> None: assert interval.open(1, 3)(2) is True