diff options
Diffstat (limited to 'test/test_weather.lua')
| -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') |
