refactor(all): Fixed alloc and moved growing logic to another function
OK, so evrything was a fucknig mess, it still kinda is, AI helped me to clean my own mess, it really sucks but the fucking debugger and address sanitizer were not working, also, there were small small errors so no big deal but still, a bit sad, also changed a the way i cast from uint8_t to double and int in the tests, may change that i guess, verything else i might say is good :)
This commit is contained in:
@@ -7,4 +7,9 @@ target_link_libraries(test_arena
|
||||
cmocka::cmocka
|
||||
)
|
||||
|
||||
enable_sanitizers(test_arena)
|
||||
|
||||
target_compile_options(test_arena PRIVATE -fsanitize=address -fno-omit-frame-pointer)
|
||||
target_link_options(test_arena PRIVATE -fsanitize=address)
|
||||
|
||||
add_test(NAME arena_tests COMMAND test_arena)
|
||||
|
||||
Reference in New Issue
Block a user