Esempio n. 1
0
 public void BasicTaxType_With_Negative_TaxRate_Is_Invalid()
 {
     var type = new BasicDutyType("Book") {TaxRate = -0.1};
     Assert.IsFalse(type.IsValid);
 }
Esempio n. 2
0
 public void BasicTaxTypes_Should_Be_Equal_With_The_Same_Name()
 {
     var type1 = new BasicDutyType("Book");
     var type2 = new BasicDutyType("Book");
     Assert.AreEqual(type1, type2);
 }