Skip to content

Commit

Permalink
Update memory cast test to use byte_size instead of size.
Browse files Browse the repository at this point in the history
  • Loading branch information
kris-rowe committed Dec 15, 2023
1 parent 450c5bd commit f4d862e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/core/memory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,5 +169,5 @@ void testCast() {
ASSERT_TRUE(occa::dtype::double_ == occa_memory.dtype());
ASSERT_TRUE(occa::dtype::byte == casted_memory.dtype());

ASSERT_EQ(occa_memory.size(), casted_memory.size());
ASSERT_EQ(occa_memory.byte_size(), casted_memory.byte_size());
}

0 comments on commit f4d862e

Please sign in to comment.