mirror of
https://github.com/ratspeak/microReticulum
synced 2026-11-22 23:10:38 +00:00
New test suite validating the LXMF message codec on native platform: 1. testPackContentRoundtrip — fixarray(4) structure 2. testPackContentBinEncoding — title/content as bin (0xC4), not str 3. testPackFullOpportunistic — wire: [src:16][sig:64][packed] 4. testPackFullDirect — wire: [dest:16][src:16][sig:64][packed] 5. testUnpackFull — pack → unpack → verify fields 6. testSignatureVerification — Ed25519 sign/verify roundtrip 7. testMessageIdComputation — deterministic SHA256 hash 8. testEmptyTitleAndContent — edge case: empty strings 9. testUnicodeContent — UTF-8 content round-trip 10. testMaxSizeContent — 280 bytes (near opportunistic limit) All 10 tests pass on native17. Uses same deterministic seeds as test_cross_compat for consistency.