Expand weather forecast phrasing and day offsets

This commit is contained in:
Jacob Dubin
2026-05-09 09:21:45 -05:00
parent 3ad4a3e025
commit 7fd732ad17
6 changed files with 649 additions and 39 deletions

View File

@@ -2035,6 +2035,12 @@ public sealed class JiboWebSocketServiceTests
Assert.Equal("views.weatherHiLo", gui.GetProperty("data").GetString());
Assert.True(gui.GetProperty("pause").GetBoolean());
var play = jcpConfig.GetProperty("play");
Assert.True(play.TryGetProperty("gui", out var playGui));
Assert.Equal("views.weatherHiLo", playGui.GetProperty("data").GetString());
Assert.Equal(0, play.GetProperty("no_matches_for_gui").GetInt32());
Assert.Equal(0, play.GetProperty("no_inputs_for_gui").GetInt32());
Assert.True(jcpConfig.TryGetProperty("views", out var views));
var weatherHiLo = views.GetProperty("weatherHiLo");
Assert.Equal("weatherTempView", weatherHiLo.GetProperty("viewConfig").GetProperty("id").GetString());