18 references to CreateClonedPadding
System.Windows.Forms.Tests (18)
System\Windows\Forms\DockPaddingEdgesTests.cs (18)
264
yield return new object[] { CreatePadding(1, 2, 3, 4),
CreateClonedPadding
(1, 2, 3, 4), true };
266
yield return new object[] { CreatePadding(1, 2, 3, 4),
CreateClonedPadding
(1, 1, 3, 4), false };
268
yield return new object[] { CreatePadding(1, 2, 3, 4),
CreateClonedPadding
(1, 2, 2, 4), 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 };
273
yield return new object[] {
CreateClonedPadding
(1, 2, 3, 4),
CreateClonedPadding
(1, 2, 3, 4), true };
274
yield return new object[] {
CreateClonedPadding
(1, 2, 3, 4), CreatePadding(1, 1, 3, 4), false };
275
yield return new object[] {
CreateClonedPadding
(1, 2, 3, 4),
CreateClonedPadding
(1, 1, 3, 4), false };
276
yield return new object[] {
CreateClonedPadding
(1, 2, 3, 4), CreatePadding(1, 2, 2, 4), false };
277
yield return new object[] {
CreateClonedPadding
(1, 2, 3, 4),
CreateClonedPadding
(1, 2, 2, 4), false };
278
yield return new object[] {
CreateClonedPadding
(1, 2, 3, 4), CreatePadding(1, 2, 3, 5), false };
279
yield return new object[] {
CreateClonedPadding
(1, 2, 3, 4),
CreateClonedPadding
(1, 2, 3, 5), false };
282
yield return new object[] {
CreateClonedPadding
(1, 2, 3, 4), new(), false };
284
yield return new object[] {
CreateClonedPadding
(1, 2, 3, 4), null, false };