public void BuyBookCount_1_1_1_1_1_Price_375() { //arrage List <int> bookCount = new List <int>() { 1, 1, 1, 1, 1 }; //act var target = new GetBookPrice(); var actual = target.CalculatePrice(bookCount); //assert var expect = 375; Assert.AreEqual(expect, actual); }
public void BuyBookCount_1_2_2_0_0_Price_460() { //arrage List <int> bookCount = new List <int>() { 1, 2, 2, 0, 0 }; //act var target = new GetBookPrice(); var actual = target.CalculatePrice(bookCount); //assert var expect = 460; Assert.AreEqual(expect, actual); }