示例#1
0
 public static IEnumerable <T> RepeateLessThan <T>(Func <T> method, int max)
 {
     return(Repeat(method, IntegerMother.LessThan(max)));
 }
示例#2
0
 public static IEnumerable <T> Random <T>(Func <T> method)
 {
     return(Repeat(method, IntegerMother.LessThan(5)));
 }
示例#3
0
 public static List <T> Random <T>(Func <T> creator)
 {
     return(Create(IntegerMother.Between(1, 10), creator));
 }