Commit 7c67b40
committed
🧪 Add tests for compress_zlib_into with success and insufficient space scenarios
- Added `test_compress_zlib_into_success` to verify successful compression into a provided buffer.
- Added `test_compress_zlib_into_insufficient_space` to verify correct error handling when the output buffer is too small.
- Mirrored existing gzip compression testing patterns for consistency.
- Verified decompression of zlib-compressed data in the success case.1 parent 196744c commit 7c67b40
1 file changed
Lines changed: 29 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
185 | 204 | | |
186 | 205 | | |
187 | 206 | | |
| |||
192 | 211 | | |
193 | 212 | | |
194 | 213 | | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
195 | 224 | | |
196 | 225 | | |
197 | 226 | | |
| |||
0 commit comments