Blender V5.3
util_types_base_test.cpp File Reference
#include <gtest/gtest.h>
#include "util/types_base.h"

Go to the source code of this file.

Functions

CCL_NAMESPACE_BEGIN TEST (types_base, divide_up)
 TEST (types_base, divide_up_by_shift)
 TEST (types_base, align_up)
 TEST (types_base, round_up)
 TEST (types_base, round_down)
 TEST (types_base, is_power_of_two)

Function Documentation

◆ TEST() [1/6]

TEST ( types_base ,
align_up  )

Definition at line 52 of file util_types_base_test.cpp.

References align_up(), EXPECT_EQ, and TEST.

◆ TEST() [2/6]

CCL_NAMESPACE_BEGIN TEST ( types_base ,
divide_up  )

Definition at line 11 of file util_types_base_test.cpp.

References divide_up(), EXPECT_EQ, and TEST.

◆ TEST() [3/6]

TEST ( types_base ,
divide_up_by_shift  )

Definition at line 30 of file util_types_base_test.cpp.

References divide_up_by_shift(), EXPECT_EQ, and TEST.

◆ TEST() [4/6]

TEST ( types_base ,
is_power_of_two  )

Definition at line 112 of file util_types_base_test.cpp.

References EXPECT_FALSE, EXPECT_TRUE, is_power_of_two(), and TEST.

◆ TEST() [5/6]

TEST ( types_base ,
round_down  )

Definition at line 93 of file util_types_base_test.cpp.

References EXPECT_EQ, round_down(), and TEST.

◆ TEST() [6/6]

TEST ( types_base ,
round_up  )

Definition at line 74 of file util_types_base_test.cpp.

References EXPECT_EQ, round_up(), and TEST.