Blender V5.3
blender::offset_indices::tests Namespace Reference

Functions

 TEST (offset_indices, SumSizes)
 TEST (offset_indices, build_groups_from_indices)
static void test_build_groups_from_indices (const int64_t groups_num, const int64_t indices_num, const bool clustered)
 TEST (offset_indices, build_groups_from_indices_few_groups)
 TEST (offset_indices, build_groups_from_indices_many_groups)
 TEST (offset_indices, build_groups_from_indices_atomic)
 TEST (offset_indices, build_groups_from_indices_small)
static void test_build_groups_from_indices_mask (const int64_t groups_num, const int64_t indices_num)
 TEST (offset_indices, build_groups_from_indices_mask)
static void test_reverse_indices_in_value_groups (const int64_t groups_num, const int64_t indices_num)
 TEST (offset_indices, reverse_indices_in_value_groups)
static void test_reverse_indices_in_uniform_value_groups (const int64_t groups_num, const int64_t pairs_num)
 TEST (offset_indices, reverse_indices_in_uniform_value_groups)

Function Documentation

◆ TEST() [1/9]

◆ TEST() [2/9]

blender::offset_indices::tests::TEST ( offset_indices ,
build_groups_from_indices_atomic  )

Definition at line 110 of file BLI_offset_indices_test.cc.

References TEST(), and test_build_groups_from_indices().

◆ TEST() [3/9]

blender::offset_indices::tests::TEST ( offset_indices ,
build_groups_from_indices_few_groups  )

Definition at line 98 of file BLI_offset_indices_test.cc.

References TEST(), and test_build_groups_from_indices().

◆ TEST() [4/9]

blender::offset_indices::tests::TEST ( offset_indices ,
build_groups_from_indices_many_groups  )

Definition at line 104 of file BLI_offset_indices_test.cc.

References TEST(), and test_build_groups_from_indices().

◆ TEST() [5/9]

blender::offset_indices::tests::TEST ( offset_indices ,
build_groups_from_indices_mask  )

Definition at line 152 of file BLI_offset_indices_test.cc.

References TEST(), and test_build_groups_from_indices_mask().

◆ TEST() [6/9]

blender::offset_indices::tests::TEST ( offset_indices ,
build_groups_from_indices_small  )

Definition at line 116 of file BLI_offset_indices_test.cc.

References TEST(), and test_build_groups_from_indices().

◆ TEST() [7/9]

blender::offset_indices::tests::TEST ( offset_indices ,
reverse_indices_in_uniform_value_groups  )

◆ TEST() [8/9]

blender::offset_indices::tests::TEST ( offset_indices ,
reverse_indices_in_value_groups  )

Definition at line 202 of file BLI_offset_indices_test.cc.

References TEST(), and test_reverse_indices_in_value_groups().

◆ TEST() [9/9]

◆ test_build_groups_from_indices()

void blender::offset_indices::tests::test_build_groups_from_indices ( const int64_t groups_num,
const int64_t indices_num,
const bool clustered )
static

◆ test_build_groups_from_indices_mask()

◆ test_reverse_indices_in_uniform_value_groups()

◆ test_reverse_indices_in_value_groups()