Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions docs/NEGATIVE_TEST_VECTORS_v0.9.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
## Summary

This PR adds `docs/NEGATIVE_TEST_VECTORS_v0.9.md`.

The new public review draft defines intentional FAIL and ERROR test vectors for DigiEmu Core verification.

It includes:

- tampered snapshot FAIL cases
- malformed JSON ERROR case
- missing snapshot ERROR case
- missing expected hash ERROR case
- unsupported hash algorithm ERROR case
- unsupported canonicalization ERROR case
- invalid field type case
- expected reason codes
- conformance relevance

## Why this matters

DigiEmu Core should not only verify valid snapshots.

Implementations must also correctly distinguish:

```text
PASS = computed hash matches expected hash
FAIL = processable input with mismatched hash
ERROR = verification could not be completed
Loading