Skip to content

Commit

Permalink
Fix GPU unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
rvaser committed Mar 26, 2021
1 parent b99f01f commit 74c937c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/racon_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -444,13 +444,13 @@ TEST_F(RaconPolishingTest, FragmentCorrectionWithQualitiesCUDA) {

std::vector<std::unique_ptr<racon::Sequence>> polished_sequences;
polish(polished_sequences, true);
EXPECT_EQ(polished_sequences.size(), 39);
EXPECT_EQ(polished_sequences.size(), 40);

uint32_t total_length = 0;
for (const auto& it : polished_sequences) {
total_length += it->data().size();
}
EXPECT_EQ(total_length, 385543); // CPU 389394
EXPECT_EQ(total_length, 397185); // CPU 389394
}

TEST_F(RaconPolishingTest, FragmentCorrectionWithQualitiesFullCUDA) {
Expand Down

0 comments on commit 74c937c

Please # to comment.