Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
robomics committed Dec 16, 2023
1 parent 4d9193c commit a95b8ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/units/bin_table/bin_table_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ TEST_CASE("BinTable (fixed bins)", "[bin-table][short]") {
}

SECTION("subset") {
const BinTableFixed expected{{Chromosome{1, "chr2", 25017}}, bin_size};
const BinTable expected{Reference{Chromosome{1, "chr2", 25017}}, bin_size};

CHECK(table.subset(Chromosome{1, "chr2", 25017}) == expected);
CHECK(table.subset("chr2") == expected);
Expand Down Expand Up @@ -261,7 +261,7 @@ TEST_CASE("BinTable (variable bins)", "[bin-table][short]") {
SECTION("subset") {
const std::vector<std::uint32_t> start_pos_{0, 5, 10, 26};
const std::vector<std::uint32_t> end_pos_{5, 10, 26, 32};
const BinTableVariable expected{{Chromosome{1, "chr2", 32}}, start_pos_, end_pos_};
const BinTable expected{Reference{Chromosome{1, "chr2", 32}}, start_pos_, end_pos_};

CHECK(table.subset(Chromosome{1, "chr2", 32}) == expected);
CHECK(table.subset("chr2") == expected);
Expand Down

0 comments on commit a95b8ed

Please sign in to comment.