public void PadStartWithSelectorWithNegativeWidth() { AssertThrowsArgument.Exception("width", () => new int[0].PadStart(-1, x => x)); }
public void TestNegativeLoopCountsException() { AssertThrowsArgument.Exception("loopCounts", () => EmptyLoopBody.NestedLoops(Enumerable.Range(-10, 10))); }
public void PadStartWithPaddingWithNegativeWidth() { AssertThrowsArgument.Exception("width", () => new int[0].PadStart(-1, 1)); }
public void PadNegativeWidth() { AssertThrowsArgument.Exception("width", () => new object[0].Pad(-1)); }