@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 function_file_exists, function file_exists, 1) $(anchor file_exists_a, file_exists a, 2) FILE_EXISTS $(file_exists /cms.css)
$(anchor file_exists_b, file_exists b, 2) FILE_EXISTS $(file_exists /none)
$(anchor file_exists_c, file_exists c, 2) FILE_EXISTS $(file_exists /none, no file)

$(anchor variables, Variables, 0) Variables:
$__DUMPVARS__


$(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),abc)) $(assert $(ne abc,aBc), $(eq $(ne abc, aBc), aBc)) $(assert $(and a,b,c), $(eq $(and a,b,c),a), $(not $(and a,,c))) $(assert $(or ,b,,,,), $(eq $(or ,b,,,,),b), $(not $(or ))) $(assert $(eq $(strip foo bar ),foo bar)) $(assert $(eq $(sanitize ___ab*+ef+),ab_ef)) $(assert $(file_exists /), $(eq $(file_exists /),/)) passed. $(index) @ENDSUB()