Blender  V3.3
Functions
util_math_test.cpp File Reference
#include "testing/testing.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]

CCL_NAMESPACE_BEGIN TEST ( math  ,
next_power_of_two   
)

Definition at line 10 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 19 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 35 of file util_math_test.cpp.

References EXPECT_EQ(), and reverse_integer_bits().