Skip to content

Commit

Permalink
fix test logic
Browse files Browse the repository at this point in the history
  • Loading branch information
mattldawson committed Dec 31, 2024
1 parent 57b461d commit 130e403
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/unit/cuda/util/test_cuda_dense_matrix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -623,10 +623,10 @@ TEST(CudaDenseMatrix, TestMin)
matrix.Min(2.0);
matrix.CopyToHost();

EXPECT_EQ(matrix[0][0], 2.0);
EXPECT_EQ(matrix[0][1], 2.0);
EXPECT_EQ(matrix[0][2], 2.0);
EXPECT_EQ(matrix[1][0], 2.0);
EXPECT_EQ(matrix[0][0], 1.0);
EXPECT_EQ(matrix[0][1], 1.0);
EXPECT_EQ(matrix[0][2], 1.0);
EXPECT_EQ(matrix[1][0], 1.0);
EXPECT_EQ(matrix[1][1], 2.0);
EXPECT_EQ(matrix[1][2], 2.0);
EXPECT_EQ(matrix[1][2], 1.0);
}

0 comments on commit 130e403

Please sign in to comment.