public void GetDenominationsTestWithSomeInvalidBills() { AtmMachine machine = GetTestAtmMachine(); var result = AtmMachineManagerHelper.GetDenominations("I $50 $37 $100", machine); Assert.IsTrue(result.Count() == 2); }
public void IsValidCommandTestWithInvalidCommand() { var input = "K"; string command; bool result = AtmMachineManagerHelper.IsValidCommand(input, out command); Assert.IsFalse(result); }