Exemple #1
0
        public void GetTotalOrderValue_ShouldReturn100forABC()
        {
            //Arrange

            sku.AddToSKU('A');
            sku.AddToSKU('B');
            sku.AddToSKU('C');

            //Act

            var result = orderCalculator.GetTotalOrderValue(sku);

            //Assert

            Assert.AreEqual(100.0, result);
        }