mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-02 01:03:29 +01:00
More...
This commit is contained in:
@@ -663,7 +663,7 @@ public class ThicknessTests
|
||||
{
|
||||
var rect = new Rectangle (x, y, width, height);
|
||||
var thickness = new Thickness (1, 1, 1, 1); // Uniform thickness for simplicity
|
||||
bool result = thickness.Contains (rect, pointX, pointY);
|
||||
bool result = thickness.Contains (rect, new (pointX, pointY));
|
||||
Assert.Equal (expected, result);
|
||||
}
|
||||
|
||||
@@ -702,7 +702,7 @@ public class ThicknessTests
|
||||
{
|
||||
var rect = new Rectangle (x, y, width, height);
|
||||
var thickness = new Thickness (2, 2, 2, 2); // Uniform thickness for simplicity
|
||||
bool result = thickness.Contains (rect, pointX, pointY);
|
||||
bool result = thickness.Contains (rect, new (pointX, pointY));
|
||||
Assert.Equal (expected, result);
|
||||
}
|
||||
|
||||
@@ -737,7 +737,7 @@ public class ThicknessTests
|
||||
{
|
||||
var rect = new Rectangle (x, y, width, height);
|
||||
var thickness = new Thickness (0, 0, 0, 0); // Uniform thickness for simplicity
|
||||
bool result = thickness.Contains (rect, pointX, pointY);
|
||||
bool result = thickness.Contains (rect, new (pointX, pointY));
|
||||
Assert.Equal (expected, result);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user