Skip to content

Commit

Permalink
Add ‘hello world!’ to test coverage
Browse files Browse the repository at this point in the history
Give it’s used in the README and other examples…
  • Loading branch information
onethumb committed Sep 7, 2024
1 parent 8ac5413 commit 7b40984
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ mod tests {
(b"\x00\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\x1B\x1C\x1D\x1E\x1F", 0xb9d9d4a8492cbd7f),

(&[0; 1024], 0x691bb2b09be5498a),

(b"hello world!", 0xd9160d1fa8e418e3),
];

for (input, result) in CASES {
Expand Down

0 comments on commit 7b40984

Please sign in to comment.