diff options
author | Chad Austin <chad@imvu.com> | 2013-04-03 19:50:50 -0700 |
---|---|---|
committer | Jukka Jylänki <jujjyl@gmail.com> | 2013-04-12 14:27:19 +0300 |
commit | f508d6306ff0be4966d3f26b99a26c46f7c2c1ef (patch) | |
tree | 352dd1ce42319b225794db40ee510dc86743e36b /tests/embind/embind.test.js | |
parent | d4bf6fbe297ea7e5720b49bfa6fc58b696540144 (diff) |
Allow value_tuple and value_struct to be registered as global constants. This involved reworking how value_struct and value_tuple are registered.
Diffstat (limited to 'tests/embind/embind.test.js')
-rwxr-xr-x | tests/embind/embind.test.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/embind/embind.test.js b/tests/embind/embind.test.js index 7bb3985f..11746214 100755 --- a/tests/embind/embind.test.js +++ b/tests/embind/embind.test.js @@ -1519,7 +1519,8 @@ module({ BaseFixture.extend("constants", function() { assert.equal(10, cm.INT_CONSTANT); assert.equal("some string", cm.STRING_CONSTANT); - //assert.deepEqual([1, 2, 3], cm.VALUE_TUPLE_CONSTANT); + assert.deepEqual([1, 2, 3], cm.VALUE_TUPLE_CONSTANT); + assert.deepEqual({x:1,y:2,z:3}, cm.VALUE_STRUCT_CONSTANT); }); }); |