diff options
| author | Danilo M. <danix@danix.xyz> | 2026-10-18 15:06:26 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-10-18 15:06:26 +0200 |
| commit | 9001b61dd3d48b7dedff40810cf258cbc3b41fee (patch) | |
| tree | a230422e5e635e9a6ad7e5ff9ad3bcbd67d28463 /test | |
| parent | 4be7664c5fcc9c081dca5fb40ec4b9e0a2cc7bd3 (diff) | |
| download | conky-theme-udt-9001b61dd3d48b7dedff40810cf258cbc3b41fee.tar.gz conky-theme-udt-9001b61dd3d48b7dedff40810cf258cbc3b41fee.zip | |
feat(now): the condition as a large glyph instead of words
The leftover height under the rows now holds the condition glyph,
large, as the card's variable band. weather.describe() and its table
had no other caller and go with the text.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'test')
| -rw-r--r-- | test/test_weather.lua | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/test/test_weather.lua b/test/test_weather.lua index 2a77b43..e845c5c 100644 --- a/test/test_weather.lua +++ b/test/test_weather.lua @@ -53,12 +53,6 @@ assert(weather.icon(0, nil) == I.clear_day, 'nil is_day draws the day face') -- draws a snow cloud in the target font is not something an assertion can -- see; the glyph sheet in Task 3 is that check. --- === Descriptions ========================================================= -assert(weather.describe(0) == 'Clear sky', 'code 0 words') -assert(weather.describe(63) == 'Rain', 'code 63 words') -assert(weather.describe(99) == 'Thunderstorm, hail', 'code 99 words') -assert(weather.describe(4) == 'Unknown', 'gap code words') -assert(weather.describe(nil) == 'Unknown', 'nil code words') -- === Formatting =========================================================== assert(weather.deg(13.2) == '13\u{00B0}', 'rounds down') |
