First part of system introspection for objs and funcs added

This commit is contained in:
Jason Turner
2012-05-18 15:31:42 -06:00
parent 025db4ce3a
commit 13fb930676
4 changed files with 82 additions and 3 deletions

View File

@@ -0,0 +1,18 @@
var funcs = get_functions();
assert_true(funcs.size() > 0);
assert_true(funcs["to_string"].get_type_info().bare_equal(Function_type));
var objs = get_objects();
var i = 1;
assert_true(objs.size() > 0);
assert_true(objs["i"].get_type_info().bare_equal(int_type));
assert_true(objs.count("j") == 0);