Skip to content
Snippets Groups Projects
Commit 2dfa7a04 authored by Frans Skarman's avatar Frans Skarman :tropical_fish: Committed by Oscar Gustafsson
Browse files

Add rudiemntary test sfg unfolding

parent 1120d83b
No related branches found
No related tags found
1 merge request!195Unfolding
......@@ -1597,7 +1597,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.
Finish editing this message first!
Please register or to comment