public DefaultRuleSetShould()
 {
     sut = new DefaultRuleSet
     {
         SeatCount     = 10,
         MinPercentage = 0.5
     };
 }
Beispiel #2
0
 public ScheduledFlight(FlightRoute flightRoute)
 {
     FlightRoute  = flightRoute;
     Passengers   = new List <Passenger>();
     RuleSet      = new DefaultRuleSet();
     BackupPlanes = new List <Plane>
     {
         new Plane()
         {
             Id            = 456,
             Name          = "Bombardier Q400",
             NumberOfSeats = 15
         },
         new Plane()
         {
             Id            = 789,
             Name          = "ATR 640",
             NumberOfSeats = 30
         }
     };
 }