public static ushort UnsignedWithinInclusiveRange(ushort min, ushort max) { return((ushort)IntegerGenerator.WithinInclusiveRange(min, max)); }
private static int AnyReasonableLength() { return(IntegerGenerator.WithinInclusiveRange(1, 10)); }
private static char Any() { return((char)IntegerGenerator.WithinInclusiveRange(char.MinValue, char.MaxValue)); }
public static IEnumerable <T> AnyNumberOf <T>(Func <T> createItem) { var numberOfItems = IntegerGenerator.WithinInclusiveRange(0, 10); return(numberOfItems.Select(createItem)); }