Skip to content

Comment and Test Coverage#7

Merged
Abraxas3d merged 2 commits into
mainfrom
comment-and-coverage
May 21, 2026
Merged

Comment and Test Coverage#7
Abraxas3d merged 2 commits into
mainfrom
comment-and-coverage

Conversation

@Abraxas3d
Copy link
Copy Markdown
Member

  1. Stale comment removed. The old NOTE block said validation.md had wrong GH card strings. Steve fixed the document itself, but the comment is wrong. This commit should fix this. It has been replaced with a brief description of the new parse tests.
  2. Two parse-level tests added. v_hel_001_parse_card_string and v_hel_002_parse_card_string. They feed the literal card strings from validation.md through arcanum_nec_import::parse() then into build_mesh() and assert the same geometry values the struct-based tests already verify. If anyone ever edits the card string in the doc and breaks the field order, these tests will catch it immediately instead of silently.

1. Stale comment removed. The old NOTE block said validation.md had wrong GH card strings. Steve fixed the document itself, but the comment is wrong. This commit should fix this. It has been replaced with a brief description of the new parse tests.
2. Two parse-level tests added. `v_hel_001_parse_card_string` and `v_hel_002_parse_card_string`. They feed the literal card strings from `validation.md` through `arcanum_nec_import::parse()` then into `build_mesh()` and assert the same geometry values the struct-based tests already verify. If anyone ever edits the card string in the doc and breaks the field order, these tests will catch it immediately instead of silently.
@Abraxas3d Abraxas3d requested a review from sconklin May 21, 2026 02:19
@Abraxas3d Abraxas3d added documentation Improvements or additions to documentation enhancement New feature or request labels May 21, 2026
Formatter failure from the automated checker. I copied how Steve does his files and hopefully this will do the trick.
Copy link
Copy Markdown
Contributor

@sconklin sconklin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thanks for the fix, and for catching the test failure.

@Abraxas3d Abraxas3d merged commit 2a47e70 into main May 21, 2026
2 checks passed
@Abraxas3d Abraxas3d deleted the comment-and-coverage branch May 21, 2026 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants