예제 #1
0
 public Arbitrary(Gen <T> generator, Func <T, IEnumerable <T> > shrinker)
 {
     Generator = generator;
     Shrinker  = shrinker;
 }
예제 #2
0
 public static Property <T> ForAll <T> (this Gen <T> gen)
 {
     return(ForAll(new Arbitrary <T> (gen)));
 }
예제 #3
0
 public Arbitrary(Gen <T> generator)
 {
     Generator = generator;
 }