public void CreateAttributeWithoutCurrencyTest()
 {
     Shipping shipping = new Shipping("FR", "YPS", 10.0f, null);
     GBaseAttribute created = shipping.CreateGBaseAttribute("shipping");
     completeAttr["price"] = "10.00";
     Assert.AreEqual(completeAttr, created);
 }
Beispiel #2
0
        public void CreateAttributeTest()
        {
            Shipping       shipping = new Shipping("FR", "YPS", 199.95f, "eur");
            GBaseAttribute created  = shipping.CreateGBaseAttribute("shipping");

            Assert.AreEqual(completeAttr, created);
        }
Beispiel #3
0
        public void CreateAttributeWithoutCurrencyTest()
        {
            Shipping       shipping = new Shipping("FR", "YPS", 10.0f, null);
            GBaseAttribute created  = shipping.CreateGBaseAttribute("shipping");

            completeAttr["price"] = "10.00";
            Assert.AreEqual(completeAttr, created);
        }
 public void CreateAttributeTest()
 {
     Shipping shipping = new Shipping("FR", "YPS", 199.95f, "eur");
     GBaseAttribute created = shipping.CreateGBaseAttribute("shipping");
     Assert.AreEqual(completeAttr, created);
 }