Skip to content

Commit 641143c

Browse files
committed
test eq
1 parent 5b22893 commit 641143c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libc/test/integration/startup/gpu/rpc_lane_test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ static void test_add() {
2525
cnt = reinterpret_cast<uint64_t *>(buffer->data)[0];
2626
});
2727
port.close();
28-
ASSERT_TRUE(cnt == gpu::get_lane_id() + 1 && "Incorrect sum");
29-
ASSERT_TRUE(gpu::get_thread_id() == gpu::get_lane_id() && "Not in same lane");
28+
EXPECT_EQ(cnt, gpu::get_lane_id() + 1);
29+
EXPECT_EQ(gpu::get_thread_id(), gpu::get_lane_id());
3030
}
3131

3232
TEST_MAIN(int argc, char **argv, char **envp) {

0 commit comments

Comments
 (0)