From 8af89a622d63c2f53a4422f238063d3b0685b73b Mon Sep 17 00:00:00 2001 From: Codex Automation Date: Fri, 5 Jun 2026 11:28:04 +0200 Subject: [PATCH] Fix taskbar glyph bounds assertion --- MeetingAssistant.Tests/TaskbarIconTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MeetingAssistant.Tests/TaskbarIconTests.cs b/MeetingAssistant.Tests/TaskbarIconTests.cs index acd8f08..68a67d0 100644 --- a/MeetingAssistant.Tests/TaskbarIconTests.cs +++ b/MeetingAssistant.Tests/TaskbarIconTests.cs @@ -157,7 +157,7 @@ public sealed class TaskbarIconTests } Assert.True(right >= left && bottom >= top, "Expected the icon to contain a visible white glyph."); - return Rectangle.FromLTRB(left, top, right, bottom); + return Rectangle.FromLTRB(left, top, right + 1, bottom + 1); } private static double GetCenter(int start, int end)