Skip to content

Commit

Permalink
[MISC] automatic linting
Browse files Browse the repository at this point in the history
  • Loading branch information
seqan-actions committed Sep 7, 2024
1 parent f3aea13 commit 19fb420
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions test/unit/hibf/layout/hierarchical_binning_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ TEST(hierarchical_binning_test, small_example)

std::vector<seqan::hibf::layout::layout::max_bin> expected_max_bins{{{2}, 22}, {{3}, 0}};

std::vector<seqan::hibf::layout::layout::user_bin> expected_user_bins{{{}, 0, 1, 7},
{{}, 1, 1, 6},
{{2}, 0, 22, 3},
std::vector<seqan::hibf::layout::layout::user_bin> expected_user_bins{{{}, 0, 1, 7},
{{}, 1, 1, 6},
{{2}, 0, 22, 3},
{{2}, 22, 21, 4},
{{2}, 43, 21, 5},
{{3}, 0, 42, 1},
{{3}, 0, 42, 1},
{{3}, 42, 11, 0},
{{3}, 53, 11, 2}};

Expand Down Expand Up @@ -145,17 +145,14 @@ TEST(hierarchical_binning_test, four_level_hibf)
seqan::hibf::layout::hierarchical_binning algo{data, config};
EXPECT_EQ(algo.execute(), 1u); // #HIGH_LEVEL_IBF max_bin_id:1

std::vector<seqan::hibf::layout::layout::max_bin> expected_max_bins{{{0, 0}, 33},
{{0, 1}, 0},
{{0}, 1},
{{1}, 0}};
std::vector<seqan::hibf::layout::layout::max_bin> expected_max_bins{{{0, 0}, 33}, {{0, 1}, 0}, {{0}, 1}, {{1}, 0}};

std::vector<seqan::hibf::layout::layout::user_bin> expected_user_bins{{{0, 0}, 0, 33, 4},
std::vector<seqan::hibf::layout::layout::user_bin> expected_user_bins{{{0, 0}, 0, 33, 4},
{{0, 0}, 33, 31, 5},
{{0, 1}, 0, 57, 2},
{{0, 1}, 57, 7, 3},
{{1}, 0, 53, 0},
{{1}, 53, 11, 1}};
{{0, 1}, 0, 57, 2},
{{0, 1}, 57, 7, 3},
{{1}, 0, 53, 0},
{{1}, 53, 11, 1}};

EXPECT_RANGE_EQ(hibf_layout.max_bins, expected_max_bins);
EXPECT_RANGE_EQ(hibf_layout.user_bins, expected_user_bins);
Expand Down

0 comments on commit 19fb420

Please sign in to comment.