Test caching results.
(self, manager)
| 44 | assert float(resolved["x"]) == pytest.approx(4.2426) |
| 45 | |
| 46 | def test_cache_result(self, manager): |
| 47 | """Test caching results.""" |
| 48 | cached = manager.cache_result("sqrt", {"x": 18}, 4.2426) |
| 49 | assert cached.tool_name == "sqrt" |
| 50 | assert cached.result == 4.2426 |
| 51 | |
| 52 | def test_get_cached_result(self, manager): |
| 53 | """Test retrieving cached results.""" |
nothing calls this directly
no outgoing calls
no test coverage detected