static void Main(string[] args) { Simulation simulation = new Simulation(); simulation.Simulate(); //Customer customer = new Customer(); //Can canFromCustomer = customer.GatherCoinsFromWallet("Cola"); //SodaMachine sodaMachine = new SodaMachine(); //sodaMachine.FillRegister(); //sodaMachine.GatherChange(.26); //bool doesContain = sodaMachine.RegisterHasCoin("Quarter"); //Console.WriteLine(doesContain); //Coin coinFromREgister = sodaMachine.GetCoinFromRegister("dime"); //double testing = sodaMachine.DetermineChange(.10, .05); //List<Coin> testList = new List<Coin> { new Quarter(), new Quarter() }; //double testDouble = sodaMachine.TotalCoinValue(testList); //testDouble is .5 //List<Coin> testList2 = new List<Coin> { new Penny(), new Dime() }; //double Tesdouble2 = sodaMachine.TotalCoinValue(testList2); ////testDouble should be .11 Console.ReadLine(); }
static void Main(string[] args) { Simulation simulation = new Simulation(); simulation.Simulate(); // SodaMachine sodaMachine = new SodaMachine(); // sodaMachine.GatherChange(.75); }
static void Main(string[] args) { Simulation simulation = new Simulation(); simulation.Simulate(); }