From a95b8ed135f017e4a25f1f1179dd41e2872a0b75 Mon Sep 17 00:00:00 2001 From: Roberto Rossini <71787608+robomics@users.noreply.github.com> Date: Sat, 16 Dec 2023 15:15:24 +0100 Subject: [PATCH] Bugfix --- test/units/bin_table/bin_table_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/units/bin_table/bin_table_test.cpp b/test/units/bin_table/bin_table_test.cpp index 4cc890bf..e3be7c35 100644 --- a/test/units/bin_table/bin_table_test.cpp +++ b/test/units/bin_table/bin_table_test.cpp @@ -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); @@ -261,7 +261,7 @@ TEST_CASE("BinTable (variable bins)", "[bin-table][short]") { SECTION("subset") { const std::vector start_pos_{0, 5, 10, 26}; const std::vector 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);