RynthSuite as of 2026-12-02 (internal 152e13d): release 2026.12.1.1

This commit is contained in:
Tom Bohar 2026-12-02 06:45:07 -05:00
commit 6b5a9c7e99
65 changed files with 3920 additions and 237 deletions

View file

@ -140,6 +140,14 @@ namespace RynthDefective.Tests
DefCommand bad = DefCommandParser.Parse("daynight soon");
Check(bad.Verb == DefVerb.Error && bad.Error.Contains("Usage", StringComparison.Ordinal), "a wrong word: the usage");
Check(DefCommandParser.Usage.Contains("daynight", StringComparison.Ordinal), "in the usage");
// Its background (2026-12-01): clear by default, the dark box on request.
Eq(DefCommandParser.Parse("daynight clear").Text, "clear", "daynight clear");
Eq(DefCommandParser.Parse("daynight transparent").Text, "clear", "transparent = clear");
Eq(DefCommandParser.Parse("daynight box").Text, "box", "daynight box");
Check(DefCommandParser.Usage.Contains("daynight [show|hide|clear|box]", StringComparison.Ordinal), "clear and box in the usage");
Check(!new DefSettings().DayNightBox, "a clear background by default (and for a settings file from before)");
Check(DefReplies.DayNightLook(false).Text.Contains("clear background", StringComparison.Ordinal), "clear: said so");
Check(DefReplies.DayNightLook(true).Text.Contains("dark box", StringComparison.Ordinal), "box: said so");
DerethNow dusk = DerethClock.At(RawAt(5715));
Eq(DefReplies.DayNight(1, dusk), (true, "Day/Night timer shown. Night now (Evensong); day in 1h 4m of real time."), "shown, with the time");