diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-17 08:47:16 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-17 08:47:16 +0200 |
| commit | cc30f929b5f8edaed8a9f8a52cc44de71d9ebfe2 (patch) | |
| tree | 4864a31d7775342ca3a8572e37d6a374e2810620 /bin | |
| parent | 0f5bd9dbded3c6b51731581cb466bad0cbd4c5d1 (diff) | |
| download | conky-theme-udt-cc30f929b5f8edaed8a9f8a52cc44de71d9ebfe2.tar.gz conky-theme-udt-cc30f929b5f8edaed8a9f8a52cc44de71d9ebfe2.zip | |
fix: correct the day/night constants in Task 1's test
DAY was 1000 against a sunrise of 1500, so every timestamp in the test
evaluated as night and the first day assertion could never pass. The
implementation was right; the test constants were not.
DAY is now 1700, inside the 1500..1900 window, with a comment saying why
the value has to be checked against the window rather than just named.
Caught by the Task 1 implementer, which stopped rather than quietly
inverting the day/night comparison to make the assertions pass.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions
