Restore checks for globals in php testcases

This commit is contained in:
Olly Betts 2021-04-14 11:15:43 +12:00
commit 8cb0c185ac
38 changed files with 99 additions and 58 deletions

View file

@ -4,6 +4,9 @@ require "enum_scope_template.php";
check::classes(array("enum_scope_template", "TreeInt"));
check::functions(array("chops","treeint_chops"));
// No new vars
check::globals(array());
check::equal(0,TreeInt::Oak,"0==TreeInt_Oak");
check::equal(1,TreeInt::Fir,"1==TreeInt_Fir");
check::equal(2,TreeInt::Cedar,"2==TreeInt_Cedar");