示例#1
0
        public void CalculateTest()
        {
            // Arrange
            var ATM = new Atm();

            // Act
            var expected = new int[] { 0, 0, 0, 0, 1, 4 };

            ATM.Calculate(450);

            // Assert
            CollectionAssert.AreEqual(expected, ATM.GetArray());
        }