Rewrite DynamicLazy.sample_xy

This commit is contained in:
2021-04-12 07:41:22 -05:00
parent bccf0e9860
commit 6f6cd3018b
12 changed files with 171 additions and 40 deletions

View File

@@ -82,7 +82,7 @@ def test_xy(sample: Sample) -> None:
[True, False],
]
}
xy = PrimalSolutionComponent().sample_xy(sample)
xy = PrimalSolutionComponent().sample_xy(None, sample)
assert xy is not None
x_actual, y_actual = xy
assert x_actual == x_expected