mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-05-06 10:17:59 +08:00
- Add regression tests covering RGB+RGBA, RGBA+RGB, channel gap > 1 (the exact CORE-103 error case), all blend modes with mismatch, and output value clamping. - Soften the inline comment to reflect that channel padding is well- defined for alpha-like extra channels rather than claiming support for arbitrary channel layouts.
Pytest Unit Tests
Install test dependencies
pip install -r tests-unit/requirements.txt
Run tests
pytest tests-unit/