diff options
| author | Zoltán Kéri <z@zolk3ri.name> | 2024-12-24 15:28:34 +0100 |
|---|---|---|
| committer | Zoltán Kéri <z@zolk3ri.name> | 2024-12-24 15:28:34 +0100 |
| commit | 7672ac945a7b8e35b600a9d2a2421caf16a5a364 (patch) | |
| tree | f5469b7b7ea0933dc5f1f6f1b3e7f4f6f8ccf1bc /src/llvm_backend_expr.cpp | |
| parent | b9338777e34006b40b9315e795232e0608caa499 (diff) | |
encoding/base32: Add RFC 4648 test suite
Add test suite based on RFC 4648 test vectors and validation rules:
- Add section 10 test vectors for valid encoding/decoding
- Add test cases for invalid character handling (section 3.2)
- Add test cases for padding validation (section 4)
- Add test cases for length requirements (section 6)
The test vectors verify that:
- Empty string encodes/decodes correctly
- Standard cases like "foo" -> "MZXW6===" work
- Invalid characters are rejected
- Missing or malformed padding is detected
- Invalid lengths are caught
Diffstat (limited to 'src/llvm_backend_expr.cpp')
0 files changed, 0 insertions, 0 deletions