Exemplo n.º 1
0
        public void InvalidAmount_ShouldNotAbleToProcess()
        {
            var twothousand = new TwoThousand();

            twothousand.Add(new Hundered());
            Assert.IsFalse(twothousand.ProcessNode2(2412));
        }
Exemplo n.º 2
0
        public void FiveHunderedAndTwoThousandOnlyInMachine_InvalidAmount()
        {
            var twothousand = new TwoThousand();

            twothousand.Add(new FiveHunderd());
            Assert.IsFalse(twothousand.ProcessNode2(2400));
        }
Exemplo n.º 3
0
        public void ValidAmount_ShouldAbleToProcess()
        {
            var twothousand = new TwoThousand();

            twothousand.Add(new Hundered());
            Assert.IsTrue(twothousand.ProcessNode2(2400));
        }