basic tests for chemical parsing, still need to write create and destroy functions for passed back data

This commit is contained in:
herbglitch 2025-03-08 02:30:23 -07:00
parent 18fc05d3d4
commit b2aec6be00
2 changed files with 53 additions and 39 deletions

View file

@ -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);