Ruby globalmodule variables test enhancement
Check that the variables values are as expected in C++. Note that the check_values global function is global in Ruby when using -globalmodule.
This commit is contained in:
parent
d53a54b4f7
commit
558f0ba485
8 changed files with 40 additions and 0 deletions
|
|
@ -45,3 +45,4 @@ end
|
|||
swig_assert(had_exception, nil,
|
||||
"Global_immutable_vars_cpp::specific_immutable_var is writable (expected to be immutable)")
|
||||
|
||||
swig_assert(Global_immutable_vars_cpp::check_values(80, 41, 82, 83, 44) == 1, nil, "Check values failed")
|
||||
|
|
|
|||
|
|
@ -49,3 +49,4 @@ end
|
|||
swig_assert(had_exception, nil,
|
||||
"Global_immutable_vars::specific_immutable_var is writable (expected to be immutable)")
|
||||
|
||||
swig_assert(Global_immutable_vars::check_values(80, 41, 82, 83, 44) == 1, nil, "Check values failed")
|
||||
|
|
|
|||
|
|
@ -45,3 +45,4 @@ end
|
|||
swig_assert(had_exception, nil,
|
||||
"$specific_immutable_var is writable (expected to be immutable)")
|
||||
|
||||
swig_assert(check_values(80, 41, 82, 83, 44) == 1, nil, "Check values failed")
|
||||
|
|
|
|||
|
|
@ -49,3 +49,4 @@ end
|
|||
swig_assert(had_exception, nil,
|
||||
"$specific_immutable_var is writable (expected to be immutable)")
|
||||
|
||||
swig_assert(check_values(80, 41, 82, 83, 44) == 1, nil, "Check values failed")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue