5 lines
218 B
Python
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
|