Esempio n. 1
0
 public void NexusCostIs20PercentLowerForExistingCustomers()
 {
     var nexusStore = new NexusStore(new ExistingCustomerStrategy(), 100);
       var actual = nexusStore.GetPrice();
       Assert.That(actual, Is.EqualTo(80));
 }
Esempio n. 2
0
 public void NexusCostIs10PercentGreaterForNewCustomers()
 {
     var nexusStore = new NexusStore(new NewCustomerStrategy(), 100);
       var actual = nexusStore.GetPrice();
       Assert.That(actual, Is.EqualTo(110));
 }