Skip to content
Snippets Groups Projects

Resolve "System tests iteration 1"

Merged Kevin Scott requested to merge 62-system-tests-iteration-1 into develop
1 unresolved thread

Closes #62 (closed)

Added test cases for creating and simulating the simple filter used in the first lab for TSTE87. The SFG used in the labs gives output from the SFG as an array, although, our program seems to give these outputs values incrementally. I expect that we will need to change this in the future to be able to plot the output values.

Also refactorized some test cases.

Edited by Kevin Scott

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • 47 inp_port.remove_signal(s1)
    39 input_port.remove_signal(s1)
    48 40
    49 assert inp_port.connected_source is None
    50 assert inp_port.signals == []
    51 assert out_port.signals == [s1]
    52 assert s1.source is out_port
    41 assert input_port.connected_source is None
    42 assert input_port.signals == []
    43 assert output_port.signals == [s1]
    44 assert s1.source is output_port
    53 45 assert s1.destination is None
    54 46
    55 def test_connect_used_port_to_new_port(inp_port, out_port, out_port2):
    47 def test_connect_used_port_to_new_port(input_port, output_port, output_port2):
    56 48 """Does connecting multiple ports to an inputport throw error?"""
  • Kevin Scott added 1 commit

    added 1 commit

    • 1e934dab - renamed TestStr to TestPrintSfg

    Compare with previous version

  • Kevin Scott added 1 commit

    added 1 commit

    Compare with previous version

  • Jacob Wahlman approved this merge request

    approved this merge request

  • Adam Jakobsson approved this merge request

    approved this merge request

  • Adam Jakobsson mentioned in commit 60a87ac1

    mentioned in commit 60a87ac1

  • Please register or sign in to reply
    Loading