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:
MihailRis 2026-07-07 17:42:24 +03:00 • committed by GitHub
parent 51c0f99061
commit a8ed3cb36f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 11 additions and 4 deletions

View file

@ -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));
}