Пример #1
0
        public void GetNotes_InputNullValue()
        {
            var form = new InputForm()
            {
                ImputedAmount = null, Results = new List <decimal>()
            };
            var atmService = new AtmService();

            Assert.AreEqual(new List <decimal>(), atmService.GetNotes(form));
        }
Пример #2
0
        public void GetNotes_InputProperValue()
        {
            var form = new InputForm()
            {
                ImputedAmount = 40, Results = new List <decimal>()
            };
            var atmService = new AtmService();

            Assert.AreEqual(new List <decimal>()
            {
                0, 0, 2, 0
            }, atmService.GetNotes(form));
        }