Beispiel #1
0
 public void PersonUnder18ShouldBeUnapprovedProperty()
 {
     Prop.ForAll(PeopleGenerators.PersonUnder18().ToArbitrary(),
                 p => LoanCalculator.Calculate(p).ApprovalStatus == ApprovalStatus.Unapproved)
     .QuickCheckThrowOnFailure();
 }
Beispiel #2
0
 public static Arbitrary <Person> Generate()
 {
     return(PeopleGenerators.PersonUnder18().ToArbitrary());
 }