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