(doc: SanitizedString)
| 21 | |
| 22 | |
| 23 | def test_negate(doc: SanitizedString) -> None: |
| 24 | assert ( |
| 25 | doc(m.negate) |
| 26 | == "negate(arg0: collections.abc.Sequence[float]) -> tuple[float, float]" |
| 27 | ) |
| 28 | assert_negate_function([1.0, -1.0], (-1.0, 1.0)) |
| 29 | assert_negate_function((1.0, -1.0), (-1.0, 1.0)) |
| 30 | assert_negate_function([1, -1], (-1.0, 1.0)) |
| 31 | assert_negate_function((1, -1), (-1.0, 1.0)) |
| 32 | |
| 33 | |
| 34 | def test_docs() -> None: |
nothing calls this directly
no test coverage detected