diff options
Diffstat (limited to 'lib/tst/allocator.hh')
-rw-r--r-- | lib/tst/allocator.hh | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/lib/tst/allocator.hh b/lib/tst/allocator.hh deleted file mode 100644 index 3bc1715..0000000 --- a/lib/tst/allocator.hh +++ /dev/null @@ -1,22 +0,0 @@ -#pragma once - -class TestAllocator : public ::testing::Test { -protected: - void - SetUp() override - { - memory = malloc(memory_size); - libk::alloc_init(memory, memory_size); - ASSERT_EQ(libk::begin, memory); - } - - void - TearDown() override - { - free(memory); - libk::begin = nullptr; - } - - const size_t memory_size = 4096; - void *memory = nullptr; -}; |