Objects adding dict test & fixes
This commit is contained in:
parent
2c8e1470d1
commit
a918c83ec1
6 changed files with 56 additions and 6 deletions
|
|
@ -22,6 +22,11 @@ TEST_DEF_STATIC(BasicAPI) {
|
|||
|
||||
printf("%s\n", NDO->toString(savedInt).read());
|
||||
|
||||
TEST(NDO->compare(integer, savedInt));
|
||||
TEST(NDO_CAST(IntObject, savedInt));
|
||||
TEST(integer->val == NDO_CAST(IntObject, savedInt)->val);
|
||||
|
||||
|
||||
NDO->destroy(integer);
|
||||
NDO->destroy(savedInt);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue