Skip to content

test(writer): property-based round-trips for Delta/FoR/ZigZag/AlpRd#89

Merged
dfa1 merged 1 commit into
mainfrom
test/roundtrip-property
Jun 20, 2026
Merged

test(writer): property-based round-trips for Delta/FoR/ZigZag/AlpRd#89
dfa1 merged 1 commit into
mainfrom
test/roundtrip-property

Conversation

@dfa1

@dfa1 dfa1 commented Jun 20, 2026

Copy link
Copy Markdown
Owner

Seeded random inputs (+ curated edges: 0, ±1, MIN/MAX, near-extremes) through
encode → decode asserting decode(encode(x)) == x. Integer codecs (Delta,
FrameOfReference, ZigZag) verify value identity incl. the wrap-around cases where
the internal subtraction/shift overflows; AlpRd is checked bit-exact (full IEEE-754
content, ±0 canonicalized to match the ALP family). ~100 cases per codec/width.

Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com

Seeded random inputs (+ curated edges: 0, ±1, MIN/MAX, near-extremes) through
encode → decode asserting decode(encode(x)) == x. Integer codecs (Delta,
FrameOfReference, ZigZag) verify value identity incl. the wrap-around cases where
the internal subtraction/shift overflows; AlpRd is checked bit-exact (full IEEE-754
content, ±0 canonicalized to match the ALP family). ~100 cases per codec/width.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@dfa1 dfa1 merged commit a2cf344 into main Jun 20, 2026
6 checks passed
@dfa1 dfa1 deleted the test/roundtrip-property branch June 20, 2026 11:54
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.

1 participant