(expr: str, expected: bool)
| 46 | ), |
| 47 | ) |
| 48 | def test_basic(expr: str, expected: bool) -> None: |
| 49 | def matcher(name: str, /, **kwargs: str | int | bool | None) -> bool: |
| 50 | return {"true": True, "false": False}[name] |
| 51 | |
| 52 | assert evaluate(expr, matcher) is expected |
| 53 | |
| 54 | |
| 55 | @pytest.mark.parametrize( |
nothing calls this directly
no test coverage detected