예제 #1
0
        internal DefaultContext()
        {
            AcceptedDenomitationList.Add(CoinType.Quarter);
            AcceptedDenomitationList.Add(CoinType.Nickel);
            AcceptedDenomitationList.Add(CoinType.Dime);

            AvailableBins.Deposit(CreateDefaultBins());
            CoinInventory.Deposit(CreateDefaultCoinInventory());
            TotalDeposit = 0;
            TraceList.Clear();
        }
예제 #2
0
 public void Add(CoinType type)
 {
     AcceptedDenomitationList.Add(type);
 }