Skip to content

R35-T032: PNG to JPG boundary checks - #132

Open
pavitrmakhija wants to merge 7 commits into
S-AI-Projects:mainfrom
pavitrmakhija:student/2601010447/R35-T032
Open

pavitrmakhija wants to merge 7 commits into
S-AI-Projects:mainfrom
pavitrmakhija:student/2601010447/R35-T032

Conversation

@pavitrmakhija

Copy link
Copy Markdown

Implements R35-T032 for issue #27.

Extracted the PNG-to-JPEG conversion into a function and guarded command-line execution so the module can be tested safely on import. Added checks for no matching files, a 1x1 PNG, an ordinary RGBA PNG, and a boundary table. The runner writes expected and actual results to work/R35-T032/evidence.json.

Validation: python3 work/R35-T032/check.py — 3 tests passed locally. Please review and request instructor review.

Refactored the script to use a function for converting PNG to JPG and added a main function for execution.
This script runs unit tests from 'test_task.py' and generates a JSON report of the test results.
Document the behavior of the PNG to JPG converter with a boundary table.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant