Exemple #1
0
 public void ScanSeveralItems()
 {
     Checkout checkout = new Checkout();
     checkout.Scan("ABCD");
     Assert.That(checkout.GetBill(), Is.EqualTo(115));
 }
Exemple #2
0
 public void ScanOneItem()
 {
     Checkout checkout = new Checkout();
     checkout.Scan("A");
     Assert.That(checkout.GetBill(), Is.EqualTo(50));
 }