Skip to content
Snippets Groups Projects
Commit ba545be2 authored by Olle Hansson's avatar Olle Hansson
Browse files

Renamed test file

parent 6ea9221a
No related branches found
No related tags found
1 merge request!232Guifilesignal
Pipeline #90354 passed
......@@ -284,4 +284,4 @@ def test_fromfile(datadir):
g = FromFile(datadir.join('tset.py'))
with pytest.raises(ValueError, match="could not convert string"):
g = FromFile(datadir.join('test.py'))
g = FromFile(datadir.join('bad.csv'))
0
a
"""
B-ASIC automatically generated SFG file.
Name: test
Last saved: 2023-02-15 16:45:16.836909.
"""
from b_asic import SFG, Delay, Input, Output, Signal
# Inputs:
in1 = Input(name="")
# Outputs:
out1 = Output(name="")
# Operations:
t1 = Delay(name="")
# Signals:
Signal(source=t1.output(0), destination=out1.input(0))
Signal(source=in1.output(0), destination=t1.input(0))
test = SFG(inputs=[in1], outputs=[out1], name='test')
# SFG Properties:
prop = {'name': test}
positions = {'t1': (114, 38, False), 'in1': (-57, 38, False), 'out1': (304, 38, False)}
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