2026-08-16 22:04:11 +03:00

5 lines
218 B
Python

from lawsynth_bench.problem import Problem
def test_problem_roundtrip():
problem = Problem.from_dict({"name": "linear", "category": "ode", "tags": ["a"]})
assert Problem.from_dict(problem.to_dict()) == problem