From 2dfa7a04ab3a68c787c21806e579a57917c8aa0a Mon Sep 17 00:00:00 2001 From: TheZoq2 <frans.skarman@protonmail.com> Date: Thu, 16 Feb 2023 14:50:03 +0100 Subject: [PATCH] Add rudiemntary test sfg unfolding --- test/test_sfg.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test/test_sfg.py b/test/test_sfg.py index 02f4c492..d5ff3e2e 100644 --- a/test/test_sfg.py +++ b/test/test_sfg.py @@ -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 -- GitLab