public void InvalidAmount_ShouldNotAbleToProcess() { var twothousand = new TwoThousand(); twothousand.Add(new Hundered()); Assert.IsFalse(twothousand.ProcessNode2(2412)); }
public void FiveHunderedAndTwoThousandOnlyInMachine_InvalidAmount() { var twothousand = new TwoThousand(); twothousand.Add(new FiveHunderd()); Assert.IsFalse(twothousand.ProcessNode2(2400)); }
public void ValidAmount_ShouldAbleToProcess() { var twothousand = new TwoThousand(); twothousand.Add(new Hundered()); Assert.IsTrue(twothousand.ProcessNode2(2400)); }