Skip to content

Complete rscada fixture coverage and fix exposed decoding errors - #151

Merged
maebli merged 2 commits into
mainfrom
fix/issue-5-fixture-coverage
Sep 26, 2026
Merged

maebli merged 2 commits into
mainfrom
fix/issue-5-fixture-coverage

Conversation

@maebli

@maebli maebli commented Sep 26, 2026 •

Copy link
Copy Markdown
Owner

Closes #5.

Check all 100 rscada captures against XML or explicit error expectations, including fixed counters and record metadata, values and units. Known fixture exceptions are documented beside their assertions.

Fix three bugs exposed by these checks: misplaced DIFE storage bits, missing duration units, and extended energy units using W³/h instead of Wh. Integer/BCD comparisons are exact; only floats allow XML rounding.

Validation: 180 workspace tests passed with each plaintext layout; all-feature tests, formatting, targeted Clippy and the embedded no_std build passed. Fixture tests and targeted Clippy also pass after review. Broader all-target Clippy still reports pre-existing warnings in unchanged tests.

@maebli
maebli merged commit f078eea into main Sep 26, 2026
14 checks passed
@maebli
maebli deleted the fix/issue-5-fixture-coverage branch October 21, 2026 19:46
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.

Complete tests in main/tests/test.rs for all data in the test files as well as the error-frames and unsupported frames

1 participant