Add tests for the measure and the filter #24

Open
opened 2026-10-07 19:24:19 +02:00 by Tirsvad · 0 comments
Owner

Add tests under tests/ with known values (white 1.0, black 21.0, a mid grey) and with the boundary: a colour just below 2.0 is dropped and one just above is kept. They pin the limit before the real image is involved, as the white-shade tests do for 240.

Phase: MIL-003

Add tests under `tests/` with known values (white 1.0, black 21.0, a mid grey) and with the boundary: a colour just below 2.0 is dropped and one just above is kept. They pin the limit before the real image is involved, as the white-shade tests do for 240. Phase: MIL-003
Tirsvad added this to the MIL-003: Visible Colours milestone 2026-10-07 19:24:19 +02:00
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Tirsvad-Udemy-100-days-of-code/018-hirst-painting#24