|
Blender V4.3
|
#include "testing/testing.h"#include "BLI_array_utils.h"#include "BLI_array_utils.hh"#include "BLI_utildefines.h"#include "BLI_utildefines_stack.h"Go to the source code of this file.
Macros | |
| #define | STACK_PUSH_AND_CHECK_FORWARD(v, i) |
| #define | STACK_PUSH_AND_CHECK_BACKWARD(v, i) |
| #define | STACK_PUSH_AND_CHECK_BOTH(v, i) |
| #define | BINARY_AND_TEST(data_cmp, data_a, data_b, data_combine, length) |
| #define | BINARY_OR_TEST(data_cmp, data_a, data_b, data_combine, length) |
| #define | DEDUPLICATE_ORDERED_TEST(data, data_cmp) |
Functions | |
| TEST (array_utils, ReverseStringEmpty) | |
| TEST (array_utils, ReverseStringSingle) | |
| TEST (array_utils, ReverseString4) | |
| TEST (array_utils, ReverseInt4) | |
| TEST (array_utils, FindIndexStringEmpty) | |
| TEST (array_utils, FindIndexStringSingle) | |
| TEST (array_utils, FindIndexStringSingleMissing) | |
| TEST (array_utils, FindIndexString4) | |
| TEST (array_utils, FindIndexInt4) | |
| TEST (array_utils, FindIndexInt4_DupeEnd) | |
| TEST (array_utils, FindIndexInt4_DupeMid) | |
| TEST (array_utils, FindIndexPointer) | |
| TEST (array_utils, BinaryAndInt4Zero) | |
| TEST (array_utils, BinaryAndInt4Mix) | |
| TEST (array_utils, BinaryOrInt4Alternate) | |
| TEST (array_utils, BinaryOrInt4Mix) | |
| TEST (array_utils, DeduplicateOrdered1) | |
| TEST (array_utils, DeduplicateOrdered2) | |
| TEST (array_utils, DeduplicateOrdered2Same) | |
| TEST (array_utils, DeduplicateOrdered3Same) | |
| TEST (array_utils, DeduplicateOrdered3) | |
| static void | find_all_ranges_test (const blender::Span< bool > data, const blender::Span< blender::IndexRange > data_cmp) |
| TEST (array_utils, FindAllRanges1) | |
| TEST (array_utils, FindAllRanges2) | |
| TEST (array_utils, FindAllRanges3) | |
| TEST (array_utils, FindAllRanges4) | |
| TEST (array_utils, FindAllRanges5) | |
| #define BINARY_AND_TEST | ( | data_cmp, | |
| data_a, | |||
| data_b, | |||
| data_combine, | |||
| length ) |
Definition at line 149 of file BLI_array_utils_test.cc.
| #define BINARY_OR_TEST | ( | data_cmp, | |
| data_a, | |||
| data_b, | |||
| data_combine, | |||
| length ) |
Definition at line 174 of file BLI_array_utils_test.cc.
| #define DEDUPLICATE_ORDERED_TEST | ( | data, | |
| data_cmp ) |
Definition at line 197 of file BLI_array_utils_test.cc.
|
static |
Definition at line 246 of file BLI_array_utils_test.cc.
References blender::Span< T >::data(), EXPECT_EQ(), and blender::Span< T >::size().
| TEST | ( | array_utils | , |
| BinaryAndInt4Mix | ) |
Definition at line 164 of file BLI_array_utils_test.cc.
References ARRAY_SIZE, and BINARY_AND_TEST.
| TEST | ( | array_utils | , |
| BinaryAndInt4Zero | ) |
Definition at line 156 of file BLI_array_utils_test.cc.
References ARRAY_SIZE, and BINARY_AND_TEST.
| TEST | ( | array_utils | , |
| BinaryOrInt4Alternate | ) |
Definition at line 181 of file BLI_array_utils_test.cc.
References ARRAY_SIZE, and BINARY_OR_TEST.
| TEST | ( | array_utils | , |
| BinaryOrInt4Mix | ) |
Definition at line 188 of file BLI_array_utils_test.cc.
References ARRAY_SIZE, and BINARY_OR_TEST.
| TEST | ( | array_utils | , |
| DeduplicateOrdered1 | ) |
Definition at line 209 of file BLI_array_utils_test.cc.
References DEDUPLICATE_ORDERED_TEST.
| TEST | ( | array_utils | , |
| DeduplicateOrdered2 | ) |
Definition at line 216 of file BLI_array_utils_test.cc.
References DEDUPLICATE_ORDERED_TEST.
| TEST | ( | array_utils | , |
| DeduplicateOrdered2Same | ) |
Definition at line 223 of file BLI_array_utils_test.cc.
References DEDUPLICATE_ORDERED_TEST.
| TEST | ( | array_utils | , |
| DeduplicateOrdered3 | ) |
Definition at line 237 of file BLI_array_utils_test.cc.
References DEDUPLICATE_ORDERED_TEST.
| TEST | ( | array_utils | , |
| DeduplicateOrdered3Same | ) |
Definition at line 230 of file BLI_array_utils_test.cc.
References DEDUPLICATE_ORDERED_TEST.
| TEST | ( | array_utils | , |
| FindAllRanges1 | ) |
Definition at line 255 of file BLI_array_utils_test.cc.
References EXPECT_EQ().
| TEST | ( | array_utils | , |
| FindAllRanges2 | ) |
Definition at line 263 of file BLI_array_utils_test.cc.
References find_all_ranges_test().
| TEST | ( | array_utils | , |
| FindAllRanges3 | ) |
Definition at line 271 of file BLI_array_utils_test.cc.
References find_all_ranges_test().
| TEST | ( | array_utils | , |
| FindAllRanges4 | ) |
Definition at line 279 of file BLI_array_utils_test.cc.
References find_all_ranges_test().
| TEST | ( | array_utils | , |
| FindAllRanges5 | ) |
Definition at line 287 of file BLI_array_utils_test.cc.
References find_all_ranges_test().
| TEST | ( | array_utils | , |
| FindIndexInt4 | ) |
Definition at line 74 of file BLI_array_utils_test.cc.
References ARRAY_SIZE, BLI_array_findindex, BLI_array_rfindindex, and EXPECT_EQ().
| TEST | ( | array_utils | , |
| FindIndexInt4_DupeEnd | ) |
Definition at line 81 of file BLI_array_utils_test.cc.
References ARRAY_SIZE, BLI_array_findindex, BLI_array_rfindindex, and EXPECT_EQ().
| TEST | ( | array_utils | , |
| FindIndexInt4_DupeMid | ) |
Definition at line 88 of file BLI_array_utils_test.cc.
References ARRAY_SIZE, BLI_array_findindex, BLI_array_rfindindex, and EXPECT_EQ().
| TEST | ( | array_utils | , |
| FindIndexPointer | ) |
Definition at line 95 of file BLI_array_utils_test.cc.
References ARRAY_SIZE, b, STACK_DECLARE, STACK_INIT, STACK_POP, STACK_PUSH_AND_CHECK_BACKWARD, STACK_PUSH_AND_CHECK_BOTH, and STACK_PUSH_AND_CHECK_FORWARD.
| TEST | ( | array_utils | , |
| FindIndexString4 | ) |
Definition at line 67 of file BLI_array_utils_test.cc.
References ARRAY_SIZE, BLI_array_findindex, BLI_array_rfindindex, and EXPECT_EQ().
| TEST | ( | array_utils | , |
| FindIndexStringEmpty | ) |
Definition at line 46 of file BLI_array_utils_test.cc.
References ARRAY_SIZE, BLI_array_findindex, BLI_array_rfindindex, and EXPECT_EQ().
| TEST | ( | array_utils | , |
| FindIndexStringSingle | ) |
Definition at line 53 of file BLI_array_utils_test.cc.
References ARRAY_SIZE, BLI_array_findindex, BLI_array_rfindindex, and EXPECT_EQ().
| TEST | ( | array_utils | , |
| FindIndexStringSingleMissing | ) |
Definition at line 60 of file BLI_array_utils_test.cc.
References ARRAY_SIZE, BLI_array_findindex, BLI_array_rfindindex, and EXPECT_EQ().
| TEST | ( | array_utils | , |
| ReverseInt4 | ) |
Definition at line 37 of file BLI_array_utils_test.cc.
References ARRAY_SIZE, and BLI_array_reverse.
| TEST | ( | array_utils | , |
| ReverseString4 | ) |
Definition at line 30 of file BLI_array_utils_test.cc.
References ARRAY_SIZE, and BLI_array_reverse.
| TEST | ( | array_utils | , |
| ReverseStringEmpty | ) |
Definition at line 16 of file BLI_array_utils_test.cc.
References ARRAY_SIZE, and BLI_array_reverse.
| TEST | ( | array_utils | , |
| ReverseStringSingle | ) |
Definition at line 23 of file BLI_array_utils_test.cc.
References ARRAY_SIZE, and BLI_array_reverse.