Blender V5.0
util_aligned_malloc_test.cpp File Reference
#include <gtest/gtest.h>
#include "util/aligned_malloc.h"

Go to the source code of this file.

Macros

#define CHECK_ALIGNMENT(ptr, align)

Functions

CCL_NAMESPACE_BEGIN TEST (util_aligned_malloc, aligned_malloc_16)
 TEST (util_aligned_malloc, aligned_malloc_32)

Macro Definition Documentation

◆ CHECK_ALIGNMENT

#define CHECK_ALIGNMENT ( ptr,
align )
Value:
EXPECT_EQ((size_t)ptr % align, 0)
EXPECT_EQ(BLI_expr_pylike_eval(expr, nullptr, 0, &result), EXPR_PYLIKE_INVALID)
PointerRNA * ptr
Definition wm_files.cc:4238

Definition at line 9 of file util_aligned_malloc_test.cpp.

Referenced by TEST(), and TEST().

Function Documentation

◆ TEST() [1/2]

CCL_NAMESPACE_BEGIN TEST ( util_aligned_malloc ,
aligned_malloc_16  )

◆ TEST() [2/2]

TEST ( util_aligned_malloc ,
aligned_malloc_32  )