Commit 31233e7
committed
Tests: Add a test for JPEG images with random bytes between segments
The image have been generated with our encoder but with the little twist
of calling this function after some segments.
ErrorOr<void> add_bytes(Stream& stream) {
for (u8 i{}; i < NumericLimits<u8>::max(); ++i)
TRY(stream.write_value<u8>(i));
return {};
}1 parent 02c6486 commit 31233e7
File tree
2 files changed
+9
-0
lines changed- Tests/LibGfx
- test-inputs/jpg
2 files changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
585 | 585 | | |
586 | 586 | | |
587 | 587 | | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
588 | 597 | | |
589 | 598 | | |
590 | 599 | | |
| |||
0 commit comments