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 and test_description='Checking a false condition records FAIL';
29 select count(*) into: npass from work.neg_results
30 where test_result='PASS'
31 and test_description='Checking a true condition records PASS';
32 select count(*) into: ntotal from work.neg_results;
35%mp_assert(iftrue=(&nfail=1 and &ntotal=2),
36 desc=Checking the false condition recorded exactly one FAIL)
38%mp_assert(iftrue=(&npass=1),
39 desc=Checking the true condition recorded exactly one PASS)