Skip to content

Commit

Permalink
-Update unit testing for union support
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo-gomez-windhover committed Oct 15, 2024
1 parent cc2e951 commit 7fd74e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion unit-test/main_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@ TEST_CASE("Test the correctness of the Circle struct after Juicer has processed

REQUIRE(dataDimensionListsRecords.at(0)["field_id"] == nameToUnionField.at("data")["id"]);
REQUIRE(dataDimensionListsRecords.at(0)["dim_order"] == "0");
REQUIRE(dataDimensionListsRecords.at(0)["upper_bound"] == "31");
REQUIRE(dataDimensionListsRecords.at(0)["upper_bound"] == "3");

/**
* *Clean up our database handle and objects in memory.
Expand Down
2 changes: 1 addition & 1 deletion unit-test/test_file1.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ union Object
{
int32_t id;
int32_t bit_field : 10;
uint8_t data[32];
uint8_t data[4];
};

/*************************************************************************/
Expand Down

0 comments on commit 7fd74e1

Please sign in to comment.