forked from mtusi2026/mtusi2026lab5
30 lines
1.8 KiB
Plaintext
30 lines
1.8 KiB
Plaintext
docker compose --profile tools run --rm imaging-test
|
||
Container mtusi-lab5-imaging-test-run-7b65aee97073 Creating
|
||
Container mtusi-lab5-imaging-test-run-7b65aee97073 Created
|
||
test_alpha_is_white_in_jpeg_and_kept_in_webp (test_imaging.ImagingTest.test_alpha_is_white_in_jpeg_and_kept_in_webp) ... ok
|
||
test_broken_jpeg_scan_is_invalid (test_imaging.ImagingTest.test_broken_jpeg_scan_is_invalid) ... ok
|
||
test_exif_orientation_is_applied (test_imaging.ImagingTest.test_exif_orientation_is_applied) ...
|
||
EXIF orientation 6: stored 400×200 -> variants 128×256 / 200×400, upright like a viewer shows it
|
||
ok
|
||
test_fixture_variants (test_imaging.ImagingTest.test_fixture_variants) ...
|
||
fixture 320×200 -> thumbnail JPEG 256×160, crop JPEG 128×128, optimized WebP 320×200
|
||
ok
|
||
test_geometry (test_imaging.ImagingTest.test_geometry) ... ok
|
||
test_jpeg_header_check_matches_strict_decoder (test_imaging.ImagingTest.test_jpeg_header_check_matches_strict_decoder) ...
|
||
800 random header mutations: {'both accept': 318, 'both reject': 427, 'accepted, entropy error in worker': 55}
|
||
ok
|
||
test_limits_in_child_process (test_imaging.ImagingTest.test_limits_in_child_process) ...
|
||
36 Mpx RGBA in a child process: ok in 3.93 s with 640 MiB; MemoryError -> image_too_large with 200 MiB; timeout 0.2 s -> killed after 0.21 s; 1000 px limit -> image_too_large
|
||
ok
|
||
test_metadata_is_stripped (test_imaging.ImagingTest.test_metadata_is_stripped) ... ok
|
||
test_modes (test_imaging.ImagingTest.test_modes) ... ok
|
||
test_same_input_same_bytes (test_imaging.ImagingTest.test_same_input_same_bytes) ... ok
|
||
test_subsampling_rule_matches_turbojpeg (test_imaging.ImagingTest.test_subsampling_rule_matches_turbojpeg) ...
|
||
8208 sampling-factor combinations: API and TurboJPEG agree on every one
|
||
ok
|
||
|
||
----------------------------------------------------------------------
|
||
Ran 11 tests in 6.036s
|
||
|
||
OK
|