basic tests for chemical parsing, still need to write create and destroy functions for passed back data
This commit is contained in:
parent
18fc05d3d4
commit
b2aec6be00
2 changed files with 53 additions and 39 deletions
|
|
@ -10,7 +10,9 @@ ARC_TEST(Chemical_BasicTest){
|
|||
|
||||
ARC_CHECK(arc_errno == 0);
|
||||
|
||||
char *tempCString = "int32 test = 5; ";
|
||||
//char *tempCString = "int32 test = 5;";
|
||||
char *tempCString = "group test { int32 test = 5; }";
|
||||
//char *tempCString = "group test { }";
|
||||
ARC_String *tempString;
|
||||
ARC_String_CreateWithStrlen(&tempString, tempCString);
|
||||
ARC_Chemical_LoadFromString(chemical, &tempString);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue