Skip to content

Commit

Permalink
Address review comment about unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
XanthosXanthopoulos committed Jan 22, 2025
1 parent 700e5f5 commit 31b8bbe
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions libtiledbsoma/test/unit_soma_column.cc
Original file line number Diff line number Diff line change
Expand Up @@ -333,14 +333,15 @@ TEST_CASE_METHOD(

// Can we write empty strings in this range?
REQUIRE(str_range[0] <= "");
REQUIRE(str_external.first <= "");
REQUIRE(str_range[1] >= "");
REQUIRE(str_external.second >= "");
// Can we write ASCII values in this range?
REQUIRE(str_range[0] < " ");
REQUIRE(str_external.first <= " ");
REQUIRE(str_range[1] > "~");
// REQUIRE(str_external.second >= "~");

// SOMAColumn return the current domain to return to the user directly
// ("", "") and not the internal values (e.g. \xff or \x7f)
REQUIRE(str_external.first == "");
REQUIRE(str_external.second == "");

std::array<uint32_t, 2> u32_range = ndrect.range<uint32_t>(
dim_infos[1].name);
Expand Down

0 comments on commit 31b8bbe

Please sign in to comment.