Example #1
0
        public void CheckIfNoScanIs0()
        {
            // Arrange
            ICheckout subject = new App.Checkout();

            // Act
            // Assert
            Assert.Equal(0, subject.GetTotal());
        }
Example #2
0
        public void CheckIfBABScanIs95()
        {
            // Arrange
            ICheckout subject = new App.Checkout();

            subject.Scan("B");
            subject.Scan("A");
            subject.Scan("B");


            // Act
            // Assert
            Assert.Equal(95, subject.GetTotal());
        }