Blender
V3.3
|
#include "testing/testing.h"
#include "BLI_array_utils.h"
#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) | |
Definition at line 146 of file BLI_array_utils_test.cc.
Definition at line 171 of file BLI_array_utils_test.cc.
Definition at line 194 of file BLI_array_utils_test.cc.
TEST | ( | array_utils | , |
BinaryAndInt4Mix | |||
) |
Definition at line 161 of file BLI_array_utils_test.cc.
References ARRAY_SIZE, and BINARY_AND_TEST.
TEST | ( | array_utils | , |
BinaryAndInt4Zero | |||
) |
Definition at line 153 of file BLI_array_utils_test.cc.
References ARRAY_SIZE, and BINARY_AND_TEST.
TEST | ( | array_utils | , |
BinaryOrInt4Alternate | |||
) |
Definition at line 178 of file BLI_array_utils_test.cc.
References ARRAY_SIZE, and BINARY_OR_TEST.
TEST | ( | array_utils | , |
BinaryOrInt4Mix | |||
) |
Definition at line 185 of file BLI_array_utils_test.cc.
References ARRAY_SIZE, and BINARY_OR_TEST.
TEST | ( | array_utils | , |
DeduplicateOrdered1 | |||
) |
Definition at line 206 of file BLI_array_utils_test.cc.
References data, and DEDUPLICATE_ORDERED_TEST.
TEST | ( | array_utils | , |
DeduplicateOrdered2 | |||
) |
Definition at line 213 of file BLI_array_utils_test.cc.
References data, and DEDUPLICATE_ORDERED_TEST.
TEST | ( | array_utils | , |
DeduplicateOrdered2Same | |||
) |
Definition at line 220 of file BLI_array_utils_test.cc.
References data, and DEDUPLICATE_ORDERED_TEST.
TEST | ( | array_utils | , |
DeduplicateOrdered3 | |||
) |
Definition at line 234 of file BLI_array_utils_test.cc.
References data, and DEDUPLICATE_ORDERED_TEST.
TEST | ( | array_utils | , |
DeduplicateOrdered3Same | |||
) |
Definition at line 227 of file BLI_array_utils_test.cc.
References data, and DEDUPLICATE_ORDERED_TEST.
TEST | ( | array_utils | , |
FindIndexInt4 | |||
) |
Definition at line 71 of file BLI_array_utils_test.cc.
References ARRAY_SIZE, BLI_array_findindex, BLI_array_rfindindex, data, and EXPECT_EQ().
TEST | ( | array_utils | , |
FindIndexInt4_DupeEnd | |||
) |
Definition at line 78 of file BLI_array_utils_test.cc.
References ARRAY_SIZE, BLI_array_findindex, BLI_array_rfindindex, data, and EXPECT_EQ().
TEST | ( | array_utils | , |
FindIndexInt4_DupeMid | |||
) |
Definition at line 85 of file BLI_array_utils_test.cc.
References ARRAY_SIZE, BLI_array_findindex, BLI_array_rfindindex, data, and EXPECT_EQ().
TEST | ( | array_utils | , |
FindIndexPointer | |||
) |
Definition at line 92 of file BLI_array_utils_test.cc.
References Freestyle::a, ARRAY_SIZE, usdtokens::b(), Freestyle::c, data, 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 64 of file BLI_array_utils_test.cc.
References ARRAY_SIZE, BLI_array_findindex, BLI_array_rfindindex, data, and EXPECT_EQ().
TEST | ( | array_utils | , |
FindIndexStringEmpty | |||
) |
Definition at line 43 of file BLI_array_utils_test.cc.
References ARRAY_SIZE, BLI_array_findindex, BLI_array_rfindindex, data, and EXPECT_EQ().
TEST | ( | array_utils | , |
FindIndexStringSingle | |||
) |
Definition at line 50 of file BLI_array_utils_test.cc.
References ARRAY_SIZE, BLI_array_findindex, BLI_array_rfindindex, data, and EXPECT_EQ().
TEST | ( | array_utils | , |
FindIndexStringSingleMissing | |||
) |
Definition at line 57 of file BLI_array_utils_test.cc.
References ARRAY_SIZE, BLI_array_findindex, BLI_array_rfindindex, data, and EXPECT_EQ().
TEST | ( | array_utils | , |
ReverseInt4 | |||
) |
Definition at line 34 of file BLI_array_utils_test.cc.
References ARRAY_SIZE, BLI_array_reverse, and data.
TEST | ( | array_utils | , |
ReverseString4 | |||
) |
Definition at line 27 of file BLI_array_utils_test.cc.
References ARRAY_SIZE, BLI_array_reverse, and data.
TEST | ( | array_utils | , |
ReverseStringEmpty | |||
) |
Definition at line 13 of file BLI_array_utils_test.cc.
References ARRAY_SIZE, BLI_array_reverse, and data.
TEST | ( | array_utils | , |
ReverseStringSingle | |||
) |
Definition at line 20 of file BLI_array_utils_test.cc.
References ARRAY_SIZE, BLI_array_reverse, and data.