Skip to content
Snippets Groups Projects
Commit e20df278 authored by Adam Jakobsson's avatar Adam Jakobsson
Browse files

Added description for test file and in __str__

parent 1483b9d3
No related branches found
No related tags found
1 merge request!21Resolve "Print SFG"
Pipeline #12764 passed
This commit is part of merge request !21. Comments created here will be created in the context of that merge request.
......@@ -352,6 +352,9 @@ class SFG(AbstractOperation):
def __str__(self):
"""Prints operations, inputs and outputs in a SFG
"""
output_string = ""
for comp in self._components_in_dfs_order:
......
"""
B-ASIC test suite for printing a SFG
"""
from b_asic.signal_flow_graph import SFG
from b_asic.core_operations import Addition, Multiplication, Constant, ConstantAddition
from b_asic.port import InputPort, OutputPort
......@@ -6,7 +11,6 @@ from b_asic.special_operations import Input, Output
import pytest
""" Formatting is tested manually by checking the output print. Needed good eyes """
class TestPrintSfg:
def test_print_one_addition(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment