Skip to content

Commit

Permalink
replaces gtest asserts with expects
Browse files Browse the repository at this point in the history
  • Loading branch information
elstehle committed Jul 14, 2022
1 parent d351e5c commit 3f47952
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/tests/io/fst/fst_test.cu
Original file line number Diff line number Diff line change
Expand Up @@ -255,10 +255,10 @@ TEST_F(FstTest, GroundTruth)
// Verify results
ASSERT_EQ(output_gpu_size[0], output_cpu.size());
for (std::size_t i = 0; i < output_cpu.size(); i++) {
ASSERT_EQ(output_gpu[i], output_cpu[i]) << "Mismatch at index #" << i;
EXPECT_EQ(output_gpu[i], output_cpu[i]) << "Mismatch at index #" << i;
}
for (std::size_t i = 0; i < output_cpu.size(); i++) {
ASSERT_EQ(out_indexes_gpu[i], out_index_cpu[i]) << "Mismatch at index #" << i;
EXPECT_EQ(out_indexes_gpu[i], out_index_cpu[i]) << "Mismatch at index #" << i;
}
}

Expand Down

0 comments on commit 3f47952

Please sign in to comment.