Esempio n. 1
0
 private void TESTING()
 {
     if (valet.GarageExist)
     {
         valet.RazeGarage();
     }
     valet.BuildGarage(15);
     valet.Park(new Boat("boat1", "0", "13", "55"));
     valet.Park(new Car("car1", "4", "Gas", CarTypes.Sport.ToString()));
     valet.Park(new Airplane("ap1", "3", "Kerosene", "250"));
     valet.Park(new Car("car2", "5", "Disel", CarTypes.Family.ToString()));
     valet.Park(new Car("car3", "4", "Gas", CarTypes.Sport.ToString()));
     valet.Park(new Bus("bus1", "6", "Biodisel", "40"));
     valet.Park(new Motorcycle("bike1", "2", "HD", "Black"));
     valet.Park(new Motorcycle("bike2", "3", "Kawasaki 125", "Pink"));
     valet.Park(new Boat("boat2", "0", "5", "600"));
     valet.Park(new Airplane("ap2", "3", "Crude oil", "4"));
     valet.Park(new Car("car4", "4", "Gas", CarTypes.Family.ToString()));
     valet.Park(new Car("car5", "4", "Ethanol", CarTypes.Family.ToString()));
     valet.Park(new Car("car6", "4", "Disel", CarTypes.Family.ToString()));
     Console.Clear();
     Console.WriteLine("Cheater!!!");
     Console.WriteLine();
 }