Add native HistoryCodec unit tests#39
Merged
Merged
Conversation
Add 22 Unity tests covering encode/decode roundtrip, NaN sentinel preservation, anchor frame boundaries, varint, edge cases, and buffer overflow protection. - New env [env:native_history] in platformio.ini - New test/test_history_codec/test_main.cpp - Compiles production HistoryCodec.cpp directly (no copies) - All tests self-contained, no hardware dependencies Run: pio test -e native_history
Owner
|
Merged — thanks @LorenzoLongaretto! Really solid work on the test suite. The anchor frame boundary tests and NaN compression coverage are exactly what this codec needed. First community contribution to SIMUT 🎉 Hope you stick around — there are more subsystems waiting for tests if you're interested. |
Contributor
Author
|
Wow, thanks for the kind words! Genuinely glad the coverage landed well. I'll definitely stick around — already curious about those other subsystems. Just point me in the right direction whenever 😄 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add 22 Unity tests covering encode/decode roundtrip, NaN sentinel preservation, anchor frame boundaries, varint, edge cases, and buffer overflow protection.
Type of Change
Testing
Describe how you tested these changes:
pio run -e pico_w_releasepio test -e native)Checklist
Related Issues
Closes #38