예제 #1
0
        public void AmountEntryValid_Test(string entry, bool shouldBeValid)
        {
            // arrange
            InvoiceModel model = new InvoiceModel();

            // act
            bool isValid = model.AmountEntryValid(entry);

            // assert
            Assert.AreEqual(shouldBeValid, isValid);
        }