コード例 #1
0
 public void CouponConstructorTest1()
 {
     Guid couponId = new Guid(); // TODO: Initialize to an appropriate value
     Coupon target = new Coupon(couponId);
     Assert.Inconclusive("TODO: Implement code to verify target");
 }
コード例 #2
0
 public void CouponCodeTest()
 {
     Coupon target = new Coupon(); // TODO: Initialize to an appropriate value
     string expected = string.Empty; // TODO: Initialize to an appropriate value
     string actual;
     target.CouponCode = expected;
     actual = target.CouponCode;
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
コード例 #3
0
 public void StartDateTest()
 {
     Coupon target = new Coupon(); // TODO: Initialize to an appropriate value
     DateTime expected = new DateTime(); // TODO: Initialize to an appropriate value
     DateTime actual;
     target.StartDate = expected;
     actual = target.StartDate;
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
コード例 #4
0
 public void CouponConstructorTest()
 {
     Coupon target = new Coupon();
     Assert.Inconclusive("TODO: Implement code to verify target");
 }
コード例 #5
0
 public void RequiresMinimumOrderAmountTest()
 {
     Coupon target = new Coupon(); // TODO: Initialize to an appropriate value
     double expected = 0F; // TODO: Initialize to an appropriate value
     double actual;
     target.RequiresMinimumOrderAmount = expected;
     actual = target.RequiresMinimumOrderAmount;
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
コード例 #6
0
 public void NumUsesTest()
 {
     Coupon target = new Coupon(); // TODO: Initialize to an appropriate value
     int expected = 0; // TODO: Initialize to an appropriate value
     int actual;
     target.NumUses = expected;
     actual = target.NumUses;
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
コード例 #7
0
 public void ExpiresOnFirstUseByAnyCustomerTest()
 {
     Coupon target = new Coupon(); // TODO: Initialize to an appropriate value
     bool expected = false; // TODO: Initialize to an appropriate value
     bool actual;
     target.ExpiresOnFirstUseByAnyCustomer = expected;
     actual = target.ExpiresOnFirstUseByAnyCustomer;
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
コード例 #8
0
 public void DiscountIncludesFreeShippingTest()
 {
     Coupon target = new Coupon(); // TODO: Initialize to an appropriate value
     bool expected = false; // TODO: Initialize to an appropriate value
     bool actual;
     target.DiscountIncludesFreeShipping = expected;
     actual = target.DiscountIncludesFreeShipping;
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
コード例 #9
0
 public void CouponIdTest()
 {
     Coupon target = new Coupon(); // TODO: Initialize to an appropriate value
     Guid expected = new Guid(); // TODO: Initialize to an appropriate value
     Guid actual;
     target.CouponId = expected;
     actual = target.CouponId;
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }