unit tests

This commit is contained in:
Tigger Kindel
2023-04-04 12:57:46 -06:00
parent 86fc997abc
commit 482b6764ff
2 changed files with 230 additions and 35 deletions

View File

@@ -468,6 +468,9 @@ namespace Terminal.Gui.ApplicationTests {
((FakeDriver)Application.Driver).SetBufferSize (5, 5);
Application.Begin (Application.Top);
// BUGBUG: v2 -
Assert.Equal (new Rect (0, 0, 80, 25), Application.Top.Frame);
((FakeDriver)Application.Driver).SetBufferSize (5, 5);
Assert.Equal (new Rect (0, 0, 5, 5), Application.Top.Frame);
}