()
| 2 | |
| 3 | |
| 4 | def test_function_metadata_eq(): |
| 5 | f1 = FunctionMetadata("s", "f", ["x"], ["integer"], [], "int", False, False, False, False, None) |
| 6 | f2 = FunctionMetadata("s", "f", ["x"], ["integer"], [], "int", False, False, False, False, None) |
| 7 | f3 = FunctionMetadata("s", "g", ["x"], ["integer"], [], "int", False, False, False, False, None) |
| 8 | assert f1 == f2 |
| 9 | assert f1 != f3 |
| 10 | assert not (f1 != f2) |
| 11 | assert not (f1 == f3) |
| 12 | assert hash(f1) == hash(f2) |
| 13 | assert hash(f1) != hash(f3) |
nothing calls this directly
no test coverage detected