Files
DeFiDude ed362a52ee Add test_lxmf_interop: 10 cross-platform fixture + wire format tests
New test suite generating deterministic LXMF and protocol fixtures for
Rust validation:
1. testLxmfWithImageField — LXMF with FIELD_IMAGE (nested array)
2. testLxmfWithFileAttachment — LXMF with FIELD_FILE_ATTACHMENTS
3. testLxmfWithMultipleFields — LXMF with CUSTOM_TYPE + CUSTOM_DATA
4. testAnnounceUtf8AppData — announce with raw UTF-8 (Rust format)
5. testAnnounceMsgpackAppData — announce with msgpack array (Ratdeck format)
6. testOpportunisticWireNoDestHash — [src:16][sig:64][packed] format
7. testSignallingBytesPacking — mode+MTU bitfield encoding
8. testPacketFlagEncoding — all flag byte combinations
9. testTruncatedHashLengths — 16/32/10 byte hash outputs
10. testHeaderFormats — Header1 (19 bytes) vs Header2 (35 bytes)

All fixture values printed as hex for Rust cpp_interop_fields.rs to validate.
10/10 tests pass on native17.
2026-03-24 15:46:04 -06:00
..