Test Result : SimplifyConditionalsInPredicateSuite

0 failures (±0)
13 tests (±0)
Took 93 ms.

All Tests

Test nameDurationStatus
CASE WHEN cond THEN false ELSE elseVal END => AND(NOT(cond), elseVal)7 msPassed
CASE WHEN cond THEN false END => false5 msPassed
CASE WHEN cond THEN true ELSE elseVal END => OR(cond, elseVal)7 msPassed
CASE WHEN cond THEN true END => cond6 msPassed
CASE WHEN cond THEN trueVal ELSE false END => AND(cond, trueVal)20 msPassed
CASE WHEN cond THEN trueVal ELSE true END => OR(NOT(cond), trueVal)7 msPassed
CASE WHEN non-deterministic-cond THEN false END4 msPassed
IF(cond, false, falseVal) => AND(NOT(cond), elseVal)6 msPassed
IF(cond, true, falseVal) => OR(cond, elseVal)6 msPassed
IF(cond, trueVal, false) => AND(cond, trueVal)11 msPassed
IF(cond, trueVal, true) => OR(NOT(cond), trueVal)7 msPassed
Not expected type - SimplifyConditionalsInPredicate1 msPassed
Simplify conditional in conditions of CaseWhen inside another CaseWhen6 msPassed