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

Go to the source code of this file.

Functions

CCL_NAMESPACE_BEGIN TEST (math, next_power_of_two)
 TEST (math, prev_power_of_two)
 TEST (math, reverse_integer_bits)

Function Documentation

◆ TEST() [1/3]

Definition at line 11 of file util_math_test.cpp.

References EXPECT_EQ(), and next_power_of_two().

◆ TEST() [2/3]

TEST ( math ,
prev_power_of_two  )

Definition at line 20 of file util_math_test.cpp.

References EXPECT_EQ(), and prev_power_of_two().

◆ TEST() [3/3]

TEST ( math ,
reverse_integer_bits  )

Definition at line 36 of file util_math_test.cpp.

References EXPECT_EQ(), and reverse_integer_bits().