Skip to content

Add system tests for GT4500 torpedoes - #1

Open
WingerATB wants to merge 1 commit into
mainfrom
gt4500-testing
Open

WingerATB wants to merge 1 commit into
mainfrom
gt4500-testing

Conversation

@WingerATB

@WingerATB WingerATB commented Oct 28, 2026 •

Copy link
Copy Markdown
Owner

Specification-based system tests for GT4500.fireTorpedo, implemented as input/output files in test-data/.

  • SINGLE mode: primary store fires first, stores alternate, falls back to the other store when the next one is empty, no retry after a failure, failure when both stores are empty
  • ALL mode: fires both stores, succeeds if at least one torpedo was fired, fails when none was

Failure rates of 0 and 1 are used to make it observable which store fired.

@github-actions

Copy link
Copy Markdown

Exit criterion (KIUGRÓ)

Check Detected Required
SystemTests tests with an expected output 13 ≥ 4 ✅
SystemTests tests failing 0 0 ✅
GT4500 instruction coverage 98.51% (132/134) ≥ 80.00% ✅
GT4500 branch coverage 95.24% (20/21) ≥ 80.00% ✅

All criteria are met. Paste this exit-criterion string into the corresponding Moodle field:

PhsLBgkeODgtWRYWQgoVB1pEWA5VT1VUTF0TRktKWlRAGV9U

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant