public void TestQ13NoTaxNoTaxFood() { Assert.IsFalse(LogicalOperations.q13("MN", "Food")); }
public void TestQ10BInRange() { Assert.IsTrue(LogicalOperations.q10(2, 1, 3, 0)); }
public void TestQ11FreeShippingToMembers() { Assert.IsTrue(LogicalOperations.q11(true, 24.99m, 1.1f)); }
public void TestQ10ValidRanges() { Assert.IsTrue(LogicalOperations.q10(1, 2, 3, 4)); }
public void TestQ01AtMax() { Assert.IsTrue(LogicalOperations.q01(499)); }
public void TestQ08InvalidYTD_NotPartTime_ValidYears() { Assert.IsFalse(LogicalOperations.q08( 0, 0, "", 2018, 2019)); }
public void TestQ09InvalidCounter() { Assert.IsFalse(LogicalOperations.q09(0, 0)); }
public void TestQ03Invalid() { Assert.IsFalse(LogicalOperations.q03(false, 0, 0)); }
public void TestQ04Invalid() { Assert.IsFalse(LogicalOperations.q04(false, 1, 0)); }
public void TestQ02TopOfExcludedRange() { Assert.IsFalse(LogicalOperations.q02(11)); }
public void TestQ02AboveRange() { Assert.IsTrue(LogicalOperations.q02(12)); }
public void TestQ02BottomOfExcludedRange() { Assert.IsFalse(LogicalOperations.q02(5)); }
public void TestQ02BelowRange() { Assert.IsTrue(LogicalOperations.q02(4)); }
public void TestQ13TaxMN() { Assert.IsTrue(LogicalOperations.q13("MN", "Electronics")); }
public void TestQ08PartTimeValidYears() { Assert.IsTrue(LogicalOperations.q08( 0, 0, "Part time", 2018, 2019)); }
public void TestQ04CounterLessThanYears() { Assert.IsTrue(LogicalOperations.q04(true, 1, 0)); }
public void TestQ08ValidYTD_NotPartTime_ValidYears() { Assert.IsTrue(LogicalOperations.q08( 1, 0, "", 2018, 2019)); }
public void TestQ04CounterNotLessThanYears() { Assert.IsFalse(LogicalOperations.q04(true, 1, 1)); }
public void TestQ08PartTime_InvalidYears() { Assert.IsFalse(LogicalOperations.q08( 0, 0, "Part time", 2019, 2019)); }
public void TestQ01BelowRange() { Assert.IsFalse(LogicalOperations.q01(249)); }
public void TestQ09ValidCounter() { Assert.IsTrue(LogicalOperations.q09(0, 1)); }
public void TestQ06IsValidTrue() { Assert.IsTrue(LogicalOperations.q06(true, 0, 0)); }
public void TestQ10CNotLessThanD() { Assert.IsFalse(LogicalOperations.q10(1, 1, 4, 4)); }
public void TestQ06CounterLessThanYears() { Assert.IsTrue(LogicalOperations.q06(false, 1, 0)); }
public void TestQ10CLessThanD() { Assert.IsTrue(LogicalOperations.q10(1, 1, 3, 4)); }
public void TestQ06CounterNotLessThanYears() { Assert.IsFalse(LogicalOperations.q06(false, 0, 0)); }
public void TestQ11NotFreeShipping() { Assert.IsFalse(LogicalOperations.q11(false, 24.99m, 1.1f)); }
public void TestQ01AtMin() { Assert.IsTrue(LogicalOperations.q01(250)); }
public void TestQ11FreeShippingOver25() { Assert.IsTrue(LogicalOperations.q11(false, 25m, 1.1f)); }
public void TestQ13NoTaxNoTaxClothing() { Assert.IsFalse(LogicalOperations.q13("MN", "Clothing")); }