19 references to CreatePadding
System.Windows.Forms.Tests (19)
System\Windows\Forms\DockPaddingEdgesTests.cs (19)
259
ICloneable cloneable =
CreatePadding
(left, top, right, bottom);
263
yield return new object[] {
CreatePadding
(1, 2, 3, 4),
CreatePadding
(1, 2, 3, 4), true };
264
yield return new object[] {
CreatePadding
(1, 2, 3, 4), CreateClonedPadding(1, 2, 3, 4), true };
265
yield return new object[] {
CreatePadding
(1, 2, 3, 4),
CreatePadding
(1, 1, 3, 4), false };
266
yield return new object[] {
CreatePadding
(1, 2, 3, 4), CreateClonedPadding(1, 1, 3, 4), false };
267
yield return new object[] {
CreatePadding
(1, 2, 3, 4),
CreatePadding
(1, 2, 2, 4), false };
268
yield return new object[] {
CreatePadding
(1, 2, 3, 4), CreateClonedPadding(1, 2, 2, 4), false };
269
yield return new object[] {
CreatePadding
(1, 2, 3, 4),
CreatePadding
(1, 2, 3, 5), false };
270
yield return new object[] {
CreatePadding
(1, 2, 3, 4), CreateClonedPadding(1, 2, 3, 5), false };
272
yield return new object[] { CreateClonedPadding(1, 2, 3, 4),
CreatePadding
(1, 2, 3, 4), true };
274
yield return new object[] { CreateClonedPadding(1, 2, 3, 4),
CreatePadding
(1, 1, 3, 4), false };
276
yield return new object[] { CreateClonedPadding(1, 2, 3, 4),
CreatePadding
(1, 2, 2, 4), false };
278
yield return new object[] { CreateClonedPadding(1, 2, 3, 4),
CreatePadding
(1, 2, 3, 5), false };
281
yield return new object[] {
CreatePadding
(1, 2, 3, 4), new(), false };
283
yield return new object[] {
CreatePadding
(1, 2, 3, 4), null, false };