@SUB(CMS test page) $(index) $(anchor function_tests, function tests, 0) $(anchor function_if, function if, 1) IF $(if x,TRUE,FALSE)
$(anchor function_eq, function eq, 1, NO_INDEX) EQ $(eq abc,abc,abc)
$(anchor function_ne, function ne, 1) NE $(ne abc,abc,aBc)
AND $(and a,b,c)
OR $(or ,,c,d,)
NOT $(not a)
NOT $(not)
STRIP $(strip aaa , bbb )
SANITIZE $(sanitize x1%2y, z3\)3)

$(anchor unit_tests, Unit tests, 0) Unit tests:
$(assert a) $(assert $(not ), $(not $(not x))) $(assert $(if a,b), $(if a,b,)) $(assert $(if ,,c)) $(assert $(not $(if a,,c))) $(assert $(not $(if ,b)), $(not $(if ,b,))) $(assert $(eq xyz, xyz), $(eq $(eq abc,abc), 1 )) $(assert $(ne abc,aBc), $(eq $(ne abc, aBc), 1 )) $(assert $(and a,b,c), $(eq $(and a,b,c),a), $(not $(and a,,c))) $(assert $(or ,b,,,,), $(eq $(or ,b,,,,),b)) $(assert $(eq $(strip foo bar ),foo bar)) $(assert $(eq $(sanitize ___ab*+ef+),ab_ef)) passed. $(index) @ENDSUB()