mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix macos build (#859)
* update macos.yml
* update macos.yml
* update macos.yml
* update macos.yml
* update macos.yml
* update macos.yml
* update workflows
* update test
* fix unused function warning
* update test
* fixes
* update test
* update test
* update macos.yml
* Revert "update workflows"
This reverts commit ae78ff3ca2.
This commit is contained in:
parent
51c0f99061
commit
a8ed3cb36f
3 changed files with 11 additions and 4 deletions
|
|
@ -8,9 +8,13 @@ TEST(SmallHeap, Allocation) {
|
|||
auto index = 0;
|
||||
auto size = 4;
|
||||
|
||||
std::cout << "step 1" << std::endl;
|
||||
SmallHeap<uint16_t, uint8_t> map;
|
||||
std::cout << "step 2" << std::endl;
|
||||
auto ptr = map.allocate(index, size);
|
||||
std::cout << "ptr: " << (void*)ptr << " le2h(1): " << dataio::le2h(1) << " h2le(1): " << dataio::h2le(1) << std::endl;
|
||||
EXPECT_EQ(map.sizeOf(ptr), size);
|
||||
std::cout << "step 4" << std::endl;
|
||||
EXPECT_EQ(ptr, map.find(index));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue