Skip to content
Snippets Groups Projects
Commit 6e37a83a authored by Frans Skarman's avatar Frans Skarman :tropical_fish:
Browse files

Add rudiemntary test sfg unfolding

parent 40fa074f
No related branches found
No related tags found
No related merge requests found
Pipeline #89785 passed
......@@ -1572,7 +1572,10 @@ class TestCriticalPath:
assert sfg_simple_accumulator.critical_path() == 6
class TestUnroll:
def unrolling_by_factor_0_raises(self, sfg_simple_filter: SFG):
class TestUnfold:
# QUESTION: Is it possible to run a test on *all* fixtures?
def test_unfolding_by_factor_0_raises(self, sfg_simple_filter: SFG):
with pytest.raises(ValueError):
sfg_simple_filter.unfold(0)
# TODO: Add more tests
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment