15%mp_assert(iftrue=(1=0),
16 desc=Checking a
false condition records FAIL,
17 outds=work.neg_results
20%mp_assert(iftrue=(1=1),
21 desc=Checking a
true condition records PASS,
22 outds=work.neg_results
26 select count(*) into: nfail from work.neg_results
27 where test_result='FAIL';
28 select count(*) into: npass from work.neg_results
29 where test_result='PASS';
32%mp_assert(iftrue=(&nfail=1),
33 desc=Checking the false condition recorded exactly one FAIL)
35%mp_assert(iftrue=(&npass=1),
36 desc=Checking the true condition recorded exactly one PASS)