Skip to content
Snippets Groups Projects
Commit 58d9907d authored by Kevin's avatar Kevin
Browse files

updated test case

parent 5843bf7f
No related branches found
No related tags found
1 merge request!44Resolve "Operation Replacement in a SFG"
Pipeline #16412 failed
......@@ -270,6 +270,7 @@ class TestReplaceOperations:
assert 'mad1' in _sfg._components_by_id.keys()
assert {add1, mul1} not in _sfg.operations
assert _sfg.input(0).signals
def test_replace_neg_add_with_sub(self):
in1 = Input()
......@@ -284,6 +285,7 @@ class TestReplaceOperations:
assert 'sub1' in _sfg._components_by_id.keys()
assert {add1, neg1} not in _sfg.operations
assert _sfg.input(0).signals
def test_different_input_output_count(self, operation_tree):
sfg = SFG(outputs=[Output(operation_tree)])
......
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