public void TestQ07DateAboveRange() { Assert.IsFalse(Logical_Operations.Q07( DateTime.Parse("1/1/2019"), DateTime.Parse("2/1/2019"), DateTime.Parse("2/1/2019"), false)); }
public void TestQ07IsValidTrue() { Assert.IsTrue(Logical_Operations.Q07( DateTime.Parse("1/1/2019"), DateTime.Parse("2/1/2019"), DateTime.Parse("2/2/2019"), true)); }
public void TestQ04CounterNotLessThanYears() { Assert.IsFalse(Logical_Operations.Q04(true, 1, 1)); }
public void TestQ04Invalid() { Assert.IsFalse(Logical_Operations.Q04(false, 1, 0)); }
public void TestQ02TopOfExcludedRange() { Assert.IsFalse(Logical_Operations.Q02(11)); }
public void TestQ02BelowRange() { Assert.IsTrue(Logical_Operations.Q02(4)); }
public void TestQ13NoTaxNoTaxFood() { Assert.IsFalse(Logical_Operations.Q13("MN", "Food")); }
public void TestQ13NoTaxNoTaxClothing() { Assert.IsFalse(Logical_Operations.Q13("MN", "Clothing")); }
public void TestQ10CNotLessThanD() { Assert.IsFalse(Logical_Operations.Q10(1, 1, 4, 4)); }
public void TestQ10ValidRanges() { Assert.IsTrue(Logical_Operations.Q10(1, 2, 3, 4)); }
public void TestQ09ValidCounter() { Assert.IsTrue(Logical_Operations.Q09(0, 1)); }
public void TestQ09InvalidCounter() { Assert.IsFalse(Logical_Operations.Q09(0, 0)); }
public void TestQ08PartTime_InvalidYears() { Assert.IsFalse(Logical_Operations.Q08( 0, 0, "Part time", 2019, 2019)); }
public void TestQ01AtMin() { Assert.IsTrue(Logical_Operations.Q01(250)); }
public void TestQ08InvalidYTD_NotPartTime_ValidYears() { Assert.IsFalse(Logical_Operations.Q08( 0, 0, "", 2018, 2019)); }
public void TestQ12FreeShippingPriceOver25WeightUnder1() { Assert.IsTrue(Logical_Operations.Q12(false, 25.0m, 0.99f)); }
public void TestQ13NoTaxOutsideMN() { Assert.IsFalse(Logical_Operations.Q13("AA", "Electronics")); }
public void TestQ10CLessThanD() { Assert.IsTrue(Logical_Operations.Q10(1, 1, 3, 4)); }
public void TestQ01AboveRange() { Assert.IsFalse(Logical_Operations.Q01(500)); }
public void TestQ10BinRange() { Assert.IsTrue(Logical_Operations.Q10(2, 1, 3, 0)); }
public void TestQ13TaxMN() { Assert.IsTrue(Logical_Operations.Q13("MN", "Electronics")); }
public void TestQ01AtMax() { Assert.IsTrue(Logical_Operations.Q01(499)); }
public void TestQ02BottomOfExcludedRange() { Assert.IsFalse(Logical_Operations.Q02(5)); }
public void TestQ11FreeShippingOver25() { Assert.IsTrue(Logical_Operations.Q11(false, 25m, 1.1f)); }
public void TestQ02AboveRange() { Assert.IsTrue(Logical_Operations.Q02(12)); }
public void TestQ11FreeShipping1OunceOrLess() { Assert.IsTrue(Logical_Operations.Q11(false, 24.99m, 1.0f)); }
public void TestQ04CounterLessThanYears() { Assert.IsTrue(Logical_Operations.Q04(true, 1, 0)); }
public void TestQ12NotFreeShipping() { Assert.IsFalse(Logical_Operations.Q12(false, 24.99m, 1.0f)); }
public void TestQ05IsValidTrue() { Assert.IsTrue(Logical_Operations.Q05(true, 0, 0)); }
public void TestQ12FreeShippingToMembers() { Assert.IsTrue(Logical_Operations.Q12(true, 24.99m, 1.0f)); }