Add ability to provide global consts in Module objects. Issue #14
This commit is contained in:
7
unittests/global_const_in_module.chai
Normal file
7
unittests/global_const_in_module.chai
Normal file
@@ -0,0 +1,7 @@
|
||||
load_module("test_module")
|
||||
|
||||
|
||||
assert_equal(to_int(TestValue1), 1)
|
||||
|
||||
assert_equal(TestValue1.type_name(), "TestEnum")
|
||||
|
||||
Reference in New Issue
Block a user