5 lines
218 B
Python
Raw Permalink Normal View History

2026-08-16 22:04:11 +03:00
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