Blender V5.0
blender::tests Namespace Reference

Classes

struct  ExtraSizeInfo
struct  ConstructibleType
struct  TestType
class  ExceptionThrower
class  FileOpsTest
class  ChangeWorkingDirectoryTest
class  ImplicitlySharedData
class  SharedDataContainer
class  TestBaseClass
class  TestChildClass
struct  Type1
struct  Type2
struct  EqualityIntModN
struct  HashIntModN
struct  MyKeyType
class  TypeConstructMock
struct  TestListValue
struct  RecursiveType

Functions

static std::string font_path (std::string font_name)
static int open_font (std::string font_name)
static void close_font (int id)
 TEST (blf_load, load)
 TEST (blf_load, font_is_loaded_path)
 TEST (blf_load, font_is_loaded_id)
 TEST (blf_load, display_name_from_file)
 TEST (blf_load, display_name_from_id)
 TEST (blf_load, has_glyph)
 TEST (blf_metrics, get_vfont_metrics)
 TEST (blf_metrics, default_weight)
 TEST (blf_metrics, has_variable_weight)
 TEST (blf_metrics, variable_weight)
 TEST (blf_dimensions, width_max)
 TEST (blf_dimensions, height_max)
 TEST (blf_dimensions, descender)
 TEST (blf_dimensions, ascender)
 TEST (blf_dimensions, fixed_width)
 TEST (blf_dimensions, width_em)
 TEST (blf_dimensions, height_em)
 TEST (blf_dimensions, advance)
 TEST (blf_wrapping_minimal, wrap_overflow_ascii)
 TEST (blf_wrapping_minimal, wrap_space)
 TEST (blf_wrapping_minimal, wrap_linefeed)
 TEST (blf_wrapping_minimal, wrap_hardlimit)
 TEST (blf_wrapping_path, wrap_path_overflow_ascii)
 TEST (blf_wrapping_path, wrap_path_space)
 TEST (blf_wrapping_path, wrap_path_separators_underscore)
 TEST (blf_wrapping_path, wrap_path_separators_slash)
 TEST (blf_wrapping_path, wrap_path_hardlimit)
 TEST (blf_wrapping_typographical, wrap_typographical_thinspace)
 TEST (blf_wrapping_typographical, wrap_typographical_backslash)
 TEST (blf_wrapping_typographical, wrap_typographical_underscore)
 TEST (blf_wrapping_typographical, wrap_typographical_forward_slash)
 TEST (blf_wrapping_typographical, wrap_typographical_dash)
 TEST (blf_wrapping_typographical, wrap_typographical_CJK)
 TEST (blf_wrapping_typographical, wrap_typographical_Tibetan)
 TEST (blf_wrapping_typographical, wrap_typographical_hardlimit)
 TEST (any, DefaultConstructor)
 TEST (any, AssignInt)
 TEST (any, AssignMap)
 TEST (any, AssignAny)
 TEST (any, Allocate)
 TEST (any, ExtraInfo)
 TEST (array_state, Empty)
 TEST (array_state, NoSharing)
 TEST (array_state, WithSharing)
 TEST (array_state, DifferentSharingInfoButSameData)
 TEST (array, DefaultConstructor)
 TEST (array, SizeConstructor)
 TEST (array, FillConstructor)
 TEST (array, InitializerListConstructor)
 TEST (array, SpanConstructor)
 TEST (array, CopyConstructor)
 TEST (array, MoveConstructor)
 TEST (array, CopyAssignment)
 TEST (array, MoveAssignment)
 TEST (array, TrivialTypeSizeConstructor)
 TEST (array, NoInitializationSizeConstructor)
 TEST (array, Fill)
 TEST (array, ReverseIterator)
 TEST (array, SpanConstructorExceptions)
 TEST (array, SizeValueConstructorExceptions)
 TEST (array, MoveConstructorExceptions)
 TEST (array, CopyAssignmentExceptions)
 TEST (array, MoveAssignmentExceptions)
 TEST (array, Last)
 TEST (array, Reinitialize)
 TEST (bitmap, empty_is_all_unset)
 TEST (bitmap, find_first_unset_empty)
 TEST (bitmap, find_first_unset_full)
 TEST (bitmap, find_first_unset_middle)
 TEST (bounds, Empty)
 TEST (bounds, EmptyInt)
 TEST (bounds, Center)
 TEST (bounds, Size)
 TEST (bounds, Translate)
 TEST (bounds, ScaleFromCenter)
 TEST (bounds, Resize)
 TEST (bounds, Recenter)
 TEST (bounds, Pad)
 TEST (bounds, MinMaxEmpty)
 TEST (bounds, MinMax)
 TEST (bounds, MinMaxFloat)
 TEST (bounds, MinGreaterThanZero)
 TEST (bounds, MinMaxRadii)
 TEST (bounds, Large)
 TEST (BLI_build_config, Basic)
 TEST (BLI_build_config, Endian)
 TEST (cpp_type, Size)
 TEST (cpp_type, Alignment)
 TEST (cpp_type, Is)
 TEST (cpp_type, DefaultConstruction)
 TEST (cpp_type, DefaultConstructTrivial)
 TEST (cpp_type, ValueInitialize)
 TEST (cpp_type, ValueInitializeTrivial)
 TEST (cpp_type, Destruct)
 TEST (cpp_type, CopyToUninitialized)
 TEST (cpp_type, CopyToInitialized)
 TEST (cpp_type, RelocateToUninitialized)
 TEST (cpp_type, RelocateToInitialized)
 TEST (cpp_type, FillInitialized)
 TEST (cpp_type, FillUninitialized)
 TEST (cpp_type, DebugPrint)
 TEST (cpp_type, ToStaticType)
 TEST (cpp_type, CopyAssignCompressed)
 TEST (disjoint_set, Test)
 TEST_F (FileOpsTest, rename)
 TEST_F (FileOpsTest, dir_create_recursive)
 TEST (fileops, fstream_open_string_filename)
 TEST (fileops, fstream_open_charptr_filename)
 TEST_F (ChangeWorkingDirectoryTest, change_working_directory)
static int perform_binary_operation (int a, int b, FunctionRef< int(int, int)> operation)
 TEST (function_ref, StatelessLambda)
 TEST (function_ref, StatefullLambda)
static int add_two_numbers (int a, int b)
 TEST (function_ref, StandaloneFunction)
 TEST (function_ref, ConstantFunction)
 TEST (function_ref, MutableStatefullLambda)
 TEST (function_ref, Null)
 TEST (function_ref, CopyDoesNotReferenceFunctionRef)
 TEST (function_ref, CopyDoesNotReferenceFunctionRef2)
 TEST (function_ref, ReferenceAnotherFunctionRef)
 TEST (function_ref, InitializeWithNull)
static int overload_test (const FunctionRef< void(std::string)>)
static int overload_test (const FunctionRef< void(int)>)
 TEST (function_ref, OverloadSelection)
 TEST (function_ref, FalsyStdFunction)
 TEST (function_ref, FalsyFunctionPointer)
 TEST (generic_array, TypeConstructor)
 TEST (generic_array, MoveConstructor)
 TEST (generic_array, CopyConstructor)
 TEST (generic_array, BufferAndSizeConstructor)
 TEST (generic_array, Reinitialize)
 TEST (generic_array, InContainer)
 TEST (generic_array, ReinitEmpty)
 TEST (generic_array, AssignDefault)
 TEST (generic_array, DefaultConstructor)
 TEST (generic_span, TypeConstructor)
 TEST (generic_span, BufferAndSizeConstructor)
 TEST (generic_mutable_span, TypeConstructor)
 TEST (generic_mutable_span, BufferAndSizeConstructor)
 TEST (generic_vector_array, Construct)
 TEST (generic_vector_array, Append)
 TEST (generic_vector_array, Extend)
 TEST (implicit_sharing, CopyOnWriteAccess)
 TEST (implicit_sharing, WeakUser)
 TEST (implicit_sharing, Version)
 TEST (index_range, DefaultConstructor)
 TEST (index_range, FromBeginSize)
 TEST (index_range, FromBeginEnd)
 TEST (index_range, FromBeginEndInclusive)
 TEST (index_range, FromEndSize)
 TEST (index_range, FromSingle)
 TEST (index_range, SingleElementRange)
 TEST (index_range, MultipleElementRange)
 TEST (index_range, SubscriptOperator)
 TEST (index_range, Before)
 TEST (index_range, After)
 TEST (index_range, Contains)
 TEST (index_range, First)
 TEST (index_range, Last)
 TEST (index_range, OneAfterEnd)
 TEST (index_range, OneBeforeStart)
 TEST (index_range, Start)
 TEST (index_range, Slice)
 TEST (index_range, Intersect)
 TEST (index_range, SliceRange)
 TEST (index_range, DropBack)
 TEST (index_range, DropBackAll)
 TEST (index_range, DropFront)
 TEST (index_range, DropFrontLargeN)
 TEST (index_range, DropFrontAll)
 TEST (index_range, TakeFront)
 TEST (index_range, TakeFrontLargeN)
 TEST (index_range, TakeBack)
 TEST (index_range, TakeBackLargeN)
 TEST (index_range, constexpr_)
 TEST (index_range, GenericAlgorithms)
 TEST (index_range, SplitByAlignment)
 TEST (index_ranges_builder, Empty)
 TEST (index_ranges_builder, Single)
 TEST (index_ranges_builder, Multiple)
 TEST (index_ranges_builder, Full)
 TEST (inplace_priority_queue, BuildSmall)
 TEST (inplace_priority_queue, DecreasePriority)
 TEST (inplace_priority_queue, IncreasePriority)
 TEST (inplace_priority_queue, PopAll)
 TEST (inplace_priority_queue, ManyPriorityChanges)
 TEST (inplace_priority_queue, IndicesAccess)
static bool is_aligned (void *ptr, uint alignment)
 TEST (linear_allocator, AllocationAlignment)
 TEST (linear_allocator, PackedAllocation)
 TEST (linear_allocator, CopyString)
 TEST (linear_allocator, AllocateArray)
 TEST (linear_allocator, Construct)
 TEST (linear_allocator, ConstructElementsAndPointerArray)
 TEST (linear_allocator, ConstructArrayCopy)
 TEST (linear_allocator, AllocateLarge)
 TEST (linear_allocator, ManyAllocations)
 TEST (linear_allocator, ConstructArray)
 TEST (linear_allocator, TransferOwnership)
 TEST (map, DefaultConstructor)
 TEST (map, ItemsConstructor)
 TEST (map, ItemsConstructorDuplicates)
 TEST (map, AddIncreasesSize)
 TEST (map, Contains)
 TEST (map, LookupExisting)
 TEST (map, LookupNotExisting)
 TEST (map, AddMany)
 TEST (map, PopItem)
 TEST (map, PopTry)
 TEST (map, PopDefault)
 TEST (map, PopItemMany)
 TEST (map, ValueIterator)
 TEST (map, KeyIterator)
 TEST (map, ItemIterator)
 TEST (map, MutableValueIterator)
 TEST (map, MutableItemIterator)
 TEST (map, MutableItemToItemConversion)
static float return_42 ()
 TEST (map, LookupOrAddCB_SeparateFunction)
 TEST (map, LookupOrAddCB_Lambdas)
 TEST (map, AddOrModify)
 TEST (map, AddOrModifyReference)
 TEST (map, AddOverwrite)
 TEST (map, LookupOrAddDefault)
 TEST (map, LookupOrAdd)
 TEST (map, LookupTry)
 TEST (map, MoveConstructorSmall)
 TEST (map, MoveConstructorLarge)
 TEST (map, MoveAssignment)
 TEST (map, CopyAssignment)
 TEST (map, Clear)
 TEST (map, UniquePtrValue)
 TEST (map, Remove)
 TEST (map, PointerKeys)
 TEST (map, ConstKeysAndValues)
 TEST (map, ForeachItem)
 TEST (map, CopyConstructorExceptions)
 TEST (map, MoveConstructorExceptions)
 TEST (map, AddNewExceptions)
 TEST (map, ReserveExceptions)
 TEST (map, PopExceptions)
 TEST (map, AddOrModifyExceptions)
 TEST (map, EnumKey)
 TEST (map, GenericAlgorithms)
 TEST (map, AddAsVariadic)
 TEST (map, RemoveDuringIteration)
 TEST (map, RemoveIf)
 TEST (map, LookupKey)
 TEST (map, VectorKey)
 TEST (map, Equality)
 TEST (map, AddCbMove)
 TEST (math_base, CompareFFRelativeValid)
 TEST (math_base, CompareFFRelativeNormal)
 TEST (math_base, CompareFFRelativeZero)
 TEST (math_base, UlpDiffFF)
 TEST (math_base, Log2FloorU)
 TEST (math_base, Log2CeilU)
 TEST (math_base, CeilPowerOf10)
 TEST (math_base, FloorPowerOf10)
 TEST (math_base, MinVectorAndFloat)
 TEST (math_base, ClampInt)
 TEST (math_base, StepLessThan)
 TEST (math_base, StepGreaterThan)
 TEST (math_base, StepExact)
 TEST (math_base, Midpoint)
 TEST (math_base, InterpolateInt)
 TEST (math_base, FlooredFMod)
 TEST (math_base, ModPeriodic)
 TEST (math_half, half_to_float_scalar)
 TEST (math_half, float_to_half_scalar)
 TEST (math_half, float_to_half_make_finite_scalar)
 TEST (math_half, half_to_float_array)
 TEST (math_half, float_to_half_array)
 TEST (math_half, float_to_half_make_finite_array)
 TEST (math_matrix, MatrixInverse)
 TEST (math_matrix, MatrixPseudoInverse)
 TEST (math_matrix, MatrixDeterminant)
 TEST (math_matrix, MatrixAdjoint)
 TEST (math_matrix, MatrixAccess)
 TEST (math_matrix, MatrixInit)
 TEST (math_matrix, MatrixModify)
 TEST (math_matrix, MatrixCompareTest)
 TEST (math_matrix, MatrixMultiply)
 TEST (math_matrix, MatrixToNearestEuler)
 TEST (math_matrix, MatrixMethods)
 TEST (math_matrix, Transformation2DMatrixDecomposition)
 TEST (math_matrix, MatrixToQuaternionLegacy)
 TEST (math_matrix, MatrixTranspose)
 TEST (math_matrix, MatrixInterpolationRegular)
 TEST (math_matrix, MatrixInterpolationSingularity)
 TEST (math_matrix, MatrixTransform)
 TEST (math_matrix, MatrixTransform2D)
 TEST (math_matrix, MatrixProjection)
 TEST (math_matrix, ToQuaternionSafe)
static void transform_normals_test (const float3x3 &transform, const Span< float3 > normals)
 TEST (math_matrix, TransformNormals)
 TEST (math_matrix_types, DefaultConstructor)
 TEST (math_matrix_types, StaticConstructor)
 TEST (math_matrix_types, VectorConstructor)
 TEST (math_matrix_types, SmallerMatrixConstructor)
 TEST (math_matrix_types, ComponentMasking)
 TEST (math_matrix_types, PointerConversion)
 TEST (math_matrix_types, TypeConversion)
 TEST (math_matrix_types, PointerArrayConversion)
 TEST (math_matrix_types, ComponentAccess)
 TEST (math_matrix_types, AddOperator)
 TEST (math_matrix_types, SubtractOperator)
 TEST (math_matrix_types, MultiplyOperator)
 TEST (math_matrix_types, MatrixMultiplyOperator)
 TEST (math_matrix_types, VectorMultiplyOperator)
 TEST (math_matrix_types, ViewConstructor)
 TEST (math_matrix_types, ViewFromCstyleMatrix)
 TEST (math_matrix_types, ViewAssignment)
 TEST (math_matrix_types, ViewScalarOperators)
 TEST (math_matrix_types, ViewMatrixMultiplyOperator)
 TEST (math_matrix_types, ViewVectorMultiplyOperator)
 TEST (math_matrix_types, ViewMatrixNormalize)
 TEST (math_rotation_types, AxisSignedCross)
 TEST (math_rotation_types, AxisSignedConvertToVec)
 TEST (math_rotation_types, AxisConvertToVec)
 TEST (math_rotation_types, Euler3Order)
 TEST (math_rotation_types, DualQuaternionUniformScaleConstructor)
 TEST (math_rotation_types, DualQuaternionNonUniformScaleConstructor)
 TEST (math_rotation_types, DualQuaternionOperators)
 TEST (math_rotation_types, QuaternionDefaultConstructor)
 TEST (math_rotation_types, QuaternionStaticConstructor)
 TEST (math_rotation_types, QuaternionVectorConstructor)
 TEST (math_rotation_types, QuaternionProduct)
 TEST (math_rotation_types, QuaternionUnaryMinus)
 TEST (math_rotation_types, QuaternionExpmap)
 TEST (math_rotation_types, QuaternionTwistSwing)
 TEST (math_rotation_types, AngleMethods)
 TEST (math_rotation_types, AngleFraction)
 TEST (math_rotation_types, TypeConversion)
 TEST (math_rotation_types, Euler3Conversion)
 TEST (math_rotation_types, AngleSinCosOperators)
 TEST (math_vector, ClampVecWithFloats)
 TEST (math_vector, test_invert_v3_safe)
 TEST (math_vector, Clamp)
 TEST (math_vector, MinList)
 TEST (math_vector, MaxList)
 TEST (math_vector, InterpolateInt)
 TEST (math_vector, InterpolateFloat)
 TEST (math_vector, CeilToMultiple)
 TEST (math_vector, DivideCeil)
 TEST (math_vector, Sign)
 TEST (math_vector, sqrt)
 TEST (math_vector, safe_sqrt)
 TEST (math_vector, rcp)
 TEST (math_vector, safe_rcp)
 TEST (math_vector, exp)
 TEST (math_vector, square)
 TEST (math_vec_types, ScalarConstructorUnsigned)
 TEST (math_vec_types, ScalarConstructorInt)
 TEST (math_vec_types, ScalarConstructorFloat)
 TEST (math_vec_types, ScalarConstructorDouble)
 TEST (math_vec_types, MultiScalarConstructorVec2)
 TEST (math_vec_types, MultiScalarConstructorVec3)
 TEST (math_vec_types, MultiScalarConstructorVec4)
 TEST (math_vec_types, MixedScalarVectorConstructorVec3)
 TEST (math_vec_types, MixedScalarVectorConstructorVec4)
 TEST (math_vec_types, ComponentMasking)
 TEST (math_vec_types, PointerConversion)
 TEST (math_vec_types, PointerArrayConversion)
 TEST (math_vec_types, VectorTypeConversion)
 TEST (math_vec_types, Add)
 TEST (math_vec_types, AddFloatByVector)
 TEST (math_vec_types, Sub)
 TEST (math_vec_types, SubFloatByVector)
 TEST (math_vec_types, Mul)
 TEST (math_vec_types, MulFloatByVector)
 TEST (math_vec_types, Divide)
 TEST (math_vec_types, DivideFloatByVector)
 TEST (math_vec_types, DivideFloatByVectorSmall)
 TEST (math_vec_types, SwizzleReinterpret)
 TEST (memory_counter, Simple)
 TEST (memory_utils, ScopedDefer1)
 TEST (memory_utils, ScopedDefer2)
 TEST (multi_value_map, LookupNotExistant)
 TEST (multi_value_map, LookupExistant)
 TEST (multi_value_map, LookupMutable)
 TEST (multi_value_map, AddMultiple)
 TEST (multi_value_map, Keys)
 TEST (multi_value_map, Values)
 TEST (multi_value_map, Items)
 TEST (multi_value_map, UniquePtr)
 TEST (pool, DefaultConstructor)
 TEST (pool, Allocation)
 TEST (pool, Reuse)
 TEST (set, DefaultConstructor)
 TEST (set, ContainsNotExistant)
 TEST (set, ContainsExistant)
 TEST (set, AddMany)
 TEST (set, InitializerListConstructor)
 TEST (set, CopyConstructor)
 TEST (set, MoveConstructor)
 TEST (set, CopyAssignment)
 TEST (set, MoveAssignment)
 TEST (set, RemoveContained)
 TEST (set, RemoveContainedMany)
 TEST (set, Intersects)
 TEST (set, Disjoint)
 TEST (set, AddMultiple)
 TEST (set, AddMultipleNew)
 TEST (set, Iterator)
 TEST (set, OftenAddRemoveContained)
 TEST (set, UniquePtrValues)
 TEST (set, Clear)
 TEST (set, StringSet)
 TEST (set, PointerSet)
 TEST (set, Remove)
static bool operator== (const Type1 &a, const Type1 &b)
static bool operator== (const Type2 &a, const Type1 &b)
 TEST (set, ContainsAs)
 TEST (set, ContainsAsString)
 TEST (set, RemoveContainedAs)
 TEST (set, RemoveAs)
 TEST (set, AddAs)
 TEST (set, CustomizeHashAndEquality)
 TEST (set, IntrusiveIntKey)
 TEST (set, LookupKey)
 TEST (set, LookupKeyDefault)
 TEST (set, LookupKeyPtr)
 TEST (set, LookupKeyOrAdd)
 TEST (set, StringViewKeys)
 TEST (set, SpanConstructorExceptions)
 TEST (set, CopyConstructorExceptions)
 TEST (set, MoveConstructorExceptions)
 TEST (set, AddNewExceptions)
 TEST (set, AddExceptions)
 TEST (set, ForwardIterator)
 TEST (set, GenericAlgorithms)
 TEST (set, RemoveDuringIteration)
 TEST (set, RemoveIf)
 TEST (set, RemoveUniquePtrWithRaw)
 TEST (set, Equality)
 TEST (set, AddOverwrite)
 TEST (span, FromSmallVector)
 TEST (span, AddConstToPointer)
 TEST (span, IsReferencing)
 TEST (span, DropBack)
 TEST (span, DropBackAll)
 TEST (span, DropFront)
 TEST (span, DropFrontLargeN)
 TEST (span, DropFrontAll)
 TEST (span, TakeFront)
 TEST (span, TakeFrontLargeN)
 TEST (span, TakeBack)
 TEST (span, TakeBackLargeN)
 TEST (span, Slice)
 TEST (span, SliceEmpty)
 TEST (span, SliceRange)
 TEST (span, SliceLargeN)
 TEST (span, Contains)
 TEST (mutable_span, Contains)
 TEST (span, Count)
static void test_ref_from_initializer_list (Span< int > span)
 TEST (span, FromInitializerList)
 TEST (span, FromVector)
 TEST (span, FromArray)
 TEST (span, Fill)
 TEST (span, FillIndices)
 TEST (span, SizeInBytes)
 TEST (span, FirstLast)
 TEST (span, FirstLast_OneElement)
 TEST (span, ContainsPtr)
 TEST (span, FirstIndex)
 TEST (span, CastSameSize)
 TEST (span, CastSmallerSize)
 TEST (span, CastLargerSize)
 TEST (span, VoidPointerSpan)
 TEST (span, CopyFrom)
 TEST (span, ReverseIterator)
 TEST (span, ReverseMutableSpan)
 TEST (span, MutableReverseIterator)
 TEST (span, Constexpr)
 TEST (span, ImplicitConversions)
 TEST (span, Comparison)
 TEST (stack, DefaultConstructor)
 TEST (stack, SpanConstructor)
 TEST (stack, CopyConstructor)
 TEST (stack, MoveConstructor)
 TEST (stack, CopyAssignment)
 TEST (stack, MoveAssignment)
 TEST (stack, Push)
 TEST (stack, PushAs)
 TEST (stack, PushMultiple)
 TEST (stack, PushPopMany)
 TEST (stack, PushMultipleAfterPop)
 TEST (stack, Pop)
 TEST (stack, Peek)
 TEST (stack, UniquePtrValues)
 TEST (stack, OveralignedValues)
 TEST (stack, SpanConstructorExceptions)
 TEST (stack, MoveConstructorExceptions)
 TEST (stack, PushExceptions)
 TEST (stack, PopExceptions)
 TEST (stack, PushMultipleExceptions)
 TEST (string_ref_null, DefaultConstructor)
 TEST (string_ref_null, CStringConstructor)
 TEST (string_ref_null, CStringLengthConstructor)
 TEST (string_ref_null, CompareEqual)
 TEST (string_ref_null, CompareEqualCharPtr1)
 TEST (string_ref_null, CompareEqualCharPtr2)
 TEST (string_ref_null, CompareEqualString1)
 TEST (string_ref_null, CompareEqualString2)
 TEST (string_ref_null, CompareEqualStringRef1)
 TEST (string_ref_null, CompareEqualStringRef2)
 TEST (string_ref_null, Constexpr)
 TEST (string_ref, DefaultConstructor)
 TEST (string_ref, StartEndConstructor)
 TEST (string_ref, StartEndConstructorNullptr)
 TEST (string_ref, StartEndConstructorSame)
 TEST (string_ref, CStringConstructor)
 TEST (string_ref, PointerWithLengthConstructor)
 TEST (string_ref, StdStringConstructor)
 TEST (string_ref, SpanConstructor)
 TEST (string_ref, SubscriptOperator)
 TEST (string_ref, ToStdString)
 TEST (string_ref, Print)
 TEST (string_ref, Add)
 TEST (string_ref, AddCharPtr1)
 TEST (string_ref, AddCharPtr2)
 TEST (string_ref, AddString1)
 TEST (string_ref, AddString2)
 TEST (string_ref, CompareEqual)
 TEST (string_ref, CompareEqualCharPtr1)
 TEST (string_ref, CompareEqualCharPtr2)
 TEST (string_ref, CompareEqualString1)
 TEST (string_ref, CompareEqualString2)
 TEST (string_ref, Iterate)
 TEST (string_ref, StartsWith)
 TEST (string_ref, EndsWith)
 TEST (string_ref, DropPrefixN)
 TEST (string_ref, DropPrefixLargeN)
 TEST (string_ref, DropKnownPrefix)
 TEST (string_ref, DropSuffix)
 TEST (string_ref, DropSuffixLargeN)
 TEST (string_ref, TrimArbitrary)
 TEST (string_ref, TrimWhitespace)
 TEST (string_ref, TrimCharacter)
 TEST (string_ref, Substr)
 TEST (string_ref, CopyUtf8Truncated)
 TEST (string_ref, CopyBytesTruncated)
 TEST (string_ref, FromStringView)
 TEST (string_ref, ToStringView)
 TEST (string_ref, Constexpr)
 TEST (BLI_tempfile, BLI_temp_directory_path_get)
 TEST (BLI_utildefines, ARRAY_SIZE)
 TEST (BLI_utildefines, BOUNDED_ARRAY_TYPE_SIZE)
 TEST (BLI_uuid, generate_random)
 TEST (BLI_uuid, generate_many_random)
 TEST (BLI_uuid, nil_value)
 TEST (BLI_uuid, equality)
 TEST (BLI_uuid, comparison_trivial)
 TEST (BLI_uuid, comparison_byte_order_check)
 TEST (BLI_uuid, string_formatting)
 TEST (BLI_uuid, string_parsing_ok)
 TEST (BLI_uuid, string_parsing_capitalisation)
 TEST (BLI_uuid, string_parsing_fail)
 TEST (BLI_uuid, stream_operator)
 TEST (vectorlist, DefaultConstructor)
 TEST (vectorlist, MoveConstructor)
 TEST (vectorlist, MoveOperator)
 TEST (vectorlist, Append)
 TEST (vectorlist, Iterator)
 TEST (vectorlist, ConstIterator)
 TEST (vectorlist, LimitIterator)
 TEST (vectorlist, IteratorAfterClear)
 TEST (vectorlist, LimitIndexing)
 TEST (vectorlist, ConstLimitIndexing)
static VectorList< int > return_by_value_helper ()
 TEST (vectorlist, ReturnByValue)
 TEST (vectorlist, IsEmpty)
 TEST (vectorlist, First)
 TEST (vectorlist, Last)
 TEST (vectorlist, AppendCallsCopyConstructor)
 TEST (vectorlist, AppendCallsMoveConstructor)
 TEST (vectorlist, OveralignedValues)
 TEST (vectorlist, AppendExceptions)
 TEST (vector_set, DefaultConstructor)
 TEST (vector_set, InitializerListConstructor_WithoutDuplicates)
 TEST (vector_set, InitializerListConstructor_WithDuplicates)
 TEST (vector_set, Copy)
 TEST (vector_set, CopyAssignment)
 TEST (vector_set, Move)
 TEST (vector_set, MoveNonInline)
 TEST (vector_set, MoveAssignment)
 TEST (vector_set, AddNewIncreasesSize)
 TEST (vector_set, AddExistingDoesNotIncreaseSize)
 TEST (vector_set, Index)
 TEST (vector_set, IndexTry)
 TEST (vector_set, RemoveContained)
 TEST (vector_set, RemoveIf)
 TEST (vector_set, AddMultipleTimes)
 TEST (vector_set, UniquePtrValue)
 TEST (vector_set, Remove)
 TEST (vector_set, SpanConstructorExceptions)
 TEST (vector_set, CopyConstructorExceptions)
 TEST (vector_set, MoveConstructorExceptions)
 TEST (vector_set, AddNewExceptions)
 TEST (vector_set, AddExceptions)
 TEST (vector_set, ReserveExceptions)
 TEST (vector_set, PopExceptions)
 TEST (vector_set, IndexOfOrAdd)
 TEST (vector_set, Clear)
 TEST (vector_set, LookupKey)
 TEST (vector_set, GrowWhenEmpty)
 TEST (vector_set, ExtractVector)
 TEST (vector_set, ExtractVectorInline)
 TEST (vector_set, ExtractVectorInlineExceptions)
 TEST (vector_set, ExtractVectorEmpty)
 TEST (vector_set, CustomIDVectorSet)
 TEST (vector_set, CustomIDVectorSetMove)
 TEST (vector_set, AddOverwrite)
 TEST (vector_set, LookupDefault)
 TEST (vector, DefaultConstructor)
 TEST (vector, SizeConstructor)
 TEST (vector, TrivialTypeSizeConstructor)
 TEST (vector, SizeValueConstructor)
 TEST (vector, InitializerListConstructor)
 TEST (vector, ConvertingConstructor)
 TEST (vector, IteratorConstructor)
 TEST (vector, CopyConstructor)
 TEST (vector, CopyConstructor2)
 TEST (vector, CopyConstructor3)
 TEST (vector, CopyConstructor4)
 TEST (vector, MoveConstructor)
 TEST (vector, MoveConstructor2)
 TEST (vector, MoveConstructor3)
 TEST (vector, MoveConstructor4)
 TEST (vector, MoveAssignment)
 TEST (vector, CopyAssignment)
 TEST (vector, Append)
 TEST (vector, AppendAs)
 TEST (vector, AppendAndGetIndex)
 TEST (vector, AppendNonDuplicates)
 TEST (vector, ExtendNonDuplicates)
 TEST (vector, ExtendIterator)
 TEST (vector, Iterator)
 TEST (vector, BecomeLarge)
static Vector< int > return_by_value_helper ()
 TEST (vector, ReturnByValue)
 TEST (vector, VectorOfVectors_Append)
 TEST (vector, RemoveLast)
 TEST (vector, IsEmpty)
 TEST (vector, RemoveReorder)
 TEST (vector, RemoveFirstOccurrenceAndReorder)
 TEST (vector, Remove)
 TEST (vector, RemoveIf)
 TEST (vector, RemoveIfNonTrivialDestructible)
 TEST (vector, ExtendSmallVector)
 TEST (vector, ExtendArray)
 TEST (vector, ExtendMoveFromSmallVector)
 TEST (vector, ExtendMoveFromUniquePtrVector)
 TEST (vector, Last)
 TEST (vector, AppendNTimes)
 TEST (vector, UniquePtrValue)
 TEST (vector, SizeConstructorCallsDefaultConstructor)
 TEST (vector, SizeValueConstructorCallsCopyConstructor)
 TEST (vector, AppendCallsCopyConstructor)
 TEST (vector, AppendCallsMoveConstructor)
 TEST (vector, SmallVectorCopyCallsCopyConstructor)
 TEST (vector, LargeVectorCopyCallsCopyConstructor)
 TEST (vector, SmallVectorMoveCallsMoveConstructor)
 TEST (vector, LargeVectorMoveCallsNoConstructor)
 TEST (vector, Resize)
 TEST (vector, FirstIndexOf)
 TEST (vector, FirstIndexTryOf)
 TEST (vector, OveralignedValues)
 TEST (vector, ConstructVoidPointerVector)
 TEST (vector, Fill)
 TEST (vector, InsertAtBeginning)
 TEST (vector, InsertAtEnd)
 TEST (vector, InsertInMiddle)
 TEST (vector, InsertAtIterator)
 TEST (vector, InsertMoveOnlyType)
 TEST (vector, Prepend)
 TEST (vector, PrependString)
 TEST (vector, ReverseIterator)
 TEST (vector, SizeValueConstructorExceptions)
 TEST (vector, SpanConstructorExceptions)
 TEST (vector, MoveConstructorExceptions)
 TEST (vector, AppendExceptions)
 TEST (vector, ExtendExceptions)
 TEST (vector, Insert1Exceptions)
 TEST (vector, Insert2Exceptions)
 TEST (vector, PopLastExceptions)
 TEST (vector, RemoveAndReorderExceptions)
 TEST (vector, RemoveExceptions)
 TEST (vector, RemoveChunk)
 TEST (vector, RemoveChunkExceptions)
 TEST (vector, RecursiveStructure)
 TEST (vector, FromRaw)
 TEST (vector, FromRawEmpty)
 TEST (vector, ReleaseEmptyInline)
 TEST (vector, ReleaseEmptyAllocated)
 TEST (vector, ReleaseNonEmptyInline)
 TEST (vector, ReleaseAllocated)
 TEST (virtual_array, Span)
 TEST (virtual_array, Single)
 TEST (virtual_array, Array)
 TEST (virtual_array, MutableArray)
 TEST (virtual_array, Vector)
 TEST (virtual_array, StdVector)
 TEST (virtual_array, StdArray)
 TEST (virtual_array, VectorSet)
 TEST (virtual_array, Func)
 TEST (virtual_array, AsSpan)
static int get_x (const std::array< int, 3 > &item)
static void set_x (std::array< int, 3 > &item, int value)
 TEST (virtual_array, DerivedSpan)
 TEST (virtual_array, MutableToImmutable)
 TEST (virtual_array, MaterializeCompressed)
 TEST (virtual_array, EmptySpanWrapper)
 TEST (wm_drag, wmDragPath)
Conversions
 TEST (color, ThemeByteToFloat)
 TEST (color, SrgbStraightFloatToByte)
 TEST (color, SrgbStraightToSceneLinearPremultiplied)
 TEST (color, SceneLinearStraightToPremultiplied)
 TEST (color, SceneLinearPremultipliedToStraight)
 TEST (color, SceneLinearStraightSrgbFloat)
 TEST (color, SceneLinearPremultipliedToSrgbFloat)
 TEST (color, SceneLinearStraightSrgbByte)
 TEST (color, SceneLinearPremultipliedToSrgbByte)
 TEST (color, SceneLinearByteEncoding)
 TEST (color, SceneLinearByteDecoding)

Variables

static const int default_constructed_value = 1
static const int copy_constructed_value = 2
static const int move_constructed_value = 3
static const int copy_constructed_from_value = 4
static const int move_constructed_from_value = 5
static const int copy_assigned_value = 6
static const int copy_assigned_from_value = 7
static const int move_assigned_value = 8
static const int move_assigned_from_value = 9
static const int destructed_value = 10
static const CPPTypeCPPType_TestType = CPPType::get<TestType>()

Function Documentation

◆ add_two_numbers()

int blender::tests::add_two_numbers ( int a,
int b )
static

Definition at line 30 of file BLI_function_ref_test.cc.

References b.

Referenced by TEST().

◆ close_font()

void blender::tests::close_font ( int id)
static

◆ font_path()

std::string blender::tests::font_path ( std::string font_name)
static

Definition at line 11 of file BLF_tests.cc.

References BLI_path_join, and FILE_MAX.

Referenced by open_font(), TEST(), and TEST().

◆ get_x()

int blender::tests::get_x ( const std::array< int, 3 > & item)
static

Definition at line 145 of file BLI_virtual_array_test.cc.

Referenced by TEST().

◆ is_aligned()

bool blender::tests::is_aligned ( void * ptr,
uint alignment )
static

Definition at line 14 of file BLI_linear_allocator_test.cc.

References BLI_assert, POINTER_AS_UINT, and ptr.

Referenced by TEST().

◆ open_font()

int blender::tests::open_font ( std::string font_name)
static

◆ operator==() [1/2]

bool blender::tests::operator== ( const Type1 & a,
const Type1 & b )
static

Definition at line 288 of file BLI_set_test.cc.

References b, and blender::tests::Type1::value.

◆ operator==() [2/2]

bool blender::tests::operator== ( const Type2 & a,
const Type1 & b )
static

Definition at line 292 of file BLI_set_test.cc.

References b, and blender::tests::Type2::value.

◆ overload_test() [1/2]

int blender::tests::overload_test ( const FunctionRef< void(int)> )
static

Definition at line 115 of file BLI_function_ref_test.cc.

◆ overload_test() [2/2]

int blender::tests::overload_test ( const FunctionRef< void(std::string)> )
static

Definition at line 110 of file BLI_function_ref_test.cc.

Referenced by TEST().

◆ perform_binary_operation()

int blender::tests::perform_binary_operation ( int a,
int b,
FunctionRef< int(int, int)> operation )
static

Definition at line 11 of file BLI_function_ref_test.cc.

References b.

Referenced by TEST(), TEST(), and TEST().

◆ return_42()

float blender::tests::return_42 ( )
static

Definition at line 304 of file BLI_map_test.cc.

Referenced by TEST().

◆ return_by_value_helper() [1/2]

VectorList< int > blender::tests::return_by_value_helper ( )
static

◆ return_by_value_helper() [2/2]

Vector< int > blender::tests::return_by_value_helper ( )
static

Definition at line 327 of file BLI_vector_test.cc.

◆ set_x()

void blender::tests::set_x ( std::array< int, 3 > & item,
int value )
static

Definition at line 150 of file BLI_virtual_array_test.cc.

Referenced by TEST().

◆ TEST() [1/710]

◆ TEST() [2/710]

blender::tests::TEST ( any ,
AssignAny  )

◆ TEST() [3/710]

◆ TEST() [4/710]

◆ TEST() [5/710]

blender::tests::TEST ( any ,
DefaultConstructor  )

◆ TEST() [6/710]

blender::tests::TEST ( any ,
ExtraInfo  )

Definition at line 110 of file BLI_any_test.cc.

References any(), and EXPECT_EQ().

◆ TEST() [7/710]

◆ TEST() [8/710]

blender::tests::TEST ( array ,
CopyAssignmentExceptions  )

Definition at line 218 of file BLI_array_test.cc.

◆ TEST() [9/710]

◆ TEST() [10/710]

blender::tests::TEST ( array ,
DefaultConstructor  )

Definition at line 15 of file BLI_array_test.cc.

References EXPECT_EQ(), and array< T, alignment >::size().

◆ TEST() [11/710]

blender::tests::TEST ( array ,
Fill  )

Definition at line 170 of file BLI_array_test.cc.

References EXPECT_EQ(), and array< T, alignment >::size().

◆ TEST() [12/710]

blender::tests::TEST ( array ,
FillConstructor  )

Definition at line 29 of file BLI_array_test.cc.

References EXPECT_EQ(), and array< T, alignment >::size().

◆ TEST() [13/710]

blender::tests::TEST ( array ,
InitializerListConstructor  )

Definition at line 40 of file BLI_array_test.cc.

References EXPECT_EQ(), and array< T, alignment >::size().

◆ TEST() [14/710]

blender::tests::TEST ( array ,
Last  )

Definition at line 234 of file BLI_array_test.cc.

References EXPECT_EQ().

◆ TEST() [15/710]

blender::tests::TEST ( array ,
MoveAssignment  )

◆ TEST() [16/710]

blender::tests::TEST ( array ,
MoveAssignmentExceptions  )

Definition at line 226 of file BLI_array_test.cc.

◆ TEST() [17/710]

blender::tests::TEST ( array ,
MoveConstructor  )

◆ TEST() [18/710]

blender::tests::TEST ( array ,
MoveConstructorExceptions  )

Definition at line 211 of file BLI_array_test.cc.

◆ TEST() [19/710]

blender::tests::TEST ( array ,
NoInitializationSizeConstructor  )

Definition at line 145 of file BLI_array_test.cc.

References EXPECT_EQ(), i, and blender::TypedBuffer< T, Size >::ptr().

◆ TEST() [20/710]

blender::tests::TEST ( array ,
Reinitialize  )

Definition at line 245 of file BLI_array_test.cc.

References EXPECT_EQ(), and array< T, alignment >::size().

◆ TEST() [21/710]

blender::tests::TEST ( array ,
ReverseIterator  )

◆ TEST() [22/710]

blender::tests::TEST ( array ,
SizeConstructor  )

Definition at line 22 of file BLI_array_test.cc.

References EXPECT_EQ(), and array< T, alignment >::size().

◆ TEST() [23/710]

blender::tests::TEST ( array ,
SizeValueConstructorExceptions  )

◆ TEST() [24/710]

blender::tests::TEST ( array ,
SpanConstructor  )

Definition at line 50 of file BLI_array_test.cc.

References ARRAY_SIZE, EXPECT_EQ(), and array< T, alignment >::size().

◆ TEST() [25/710]

blender::tests::TEST ( array ,
SpanConstructorExceptions  )

Definition at line 196 of file BLI_array_test.cc.

◆ TEST() [26/710]

blender::tests::TEST ( array ,
TrivialTypeSizeConstructor  )

Tests that the trivially constructible types are not zero-initialized. We do not want that for performance reasons.

Definition at line 120 of file BLI_array_test.cc.

References EXPECT_EQ(), magic(), and ptr.

◆ TEST() [27/710]

blender::tests::TEST ( array_state ,
DifferentSharingInfoButSameData  )

◆ TEST() [28/710]

blender::tests::TEST ( array_state ,
Empty  )

Definition at line 11 of file BLI_array_state_test.cc.

References blender::VArray< T >::from_span(), and state.

◆ TEST() [29/710]

blender::tests::TEST ( array_state ,
NoSharing  )

Definition at line 19 of file BLI_array_state_test.cc.

References blender::VArray< T >::from_span(), and state.

◆ TEST() [30/710]

◆ TEST() [31/710]

blender::tests::TEST ( bitmap ,
empty_is_all_unset  )

Definition at line 10 of file BLI_bitmap_test.cc.

References BLI_BITMAP_DECLARE, BLI_BITMAP_TEST_BOOL, and i.

◆ TEST() [32/710]

blender::tests::TEST ( bitmap ,
find_first_unset_empty  )

Definition at line 18 of file BLI_bitmap_test.cc.

References BLI_BITMAP_DECLARE, BLI_bitmap_find_first_unset(), and EXPECT_EQ().

◆ TEST() [33/710]

blender::tests::TEST ( bitmap ,
find_first_unset_full  )

◆ TEST() [34/710]

blender::tests::TEST ( bitmap ,
find_first_unset_middle  )

◆ TEST() [35/710]

blender::tests::TEST ( blf_dimensions ,
advance  )

Definition at line 195 of file BLF_tests.cc.

References BLF_glyph_advance(), BLF_size(), close_font(), open_font(), and sample.

◆ TEST() [36/710]

blender::tests::TEST ( blf_dimensions ,
ascender  )

Definition at line 154 of file BLF_tests.cc.

References BLF_ascender(), BLF_size(), close_font(), and open_font().

◆ TEST() [37/710]

blender::tests::TEST ( blf_dimensions ,
descender  )

Definition at line 145 of file BLF_tests.cc.

References BLF_descender(), BLF_size(), close_font(), and open_font().

◆ TEST() [38/710]

blender::tests::TEST ( blf_dimensions ,
fixed_width  )

Definition at line 163 of file BLF_tests.cc.

References BLF_fixed_width(), BLF_size(), close_font(), and open_font().

◆ TEST() [39/710]

blender::tests::TEST ( blf_dimensions ,
height_em  )

Definition at line 184 of file BLF_tests.cc.

References BLF_height(), BLF_size(), close_font(), open_font(), and sample.

◆ TEST() [40/710]

blender::tests::TEST ( blf_dimensions ,
height_max  )

Definition at line 136 of file BLF_tests.cc.

References BLF_height_max(), BLF_size(), close_font(), and open_font().

◆ TEST() [41/710]

blender::tests::TEST ( blf_dimensions ,
width_em  )

Definition at line 173 of file BLF_tests.cc.

References BLF_size(), BLF_width(), close_font(), open_font(), and sample.

◆ TEST() [42/710]

blender::tests::TEST ( blf_dimensions ,
width_max  )

Definition at line 127 of file BLF_tests.cc.

References BLF_size(), BLF_width_max(), close_font(), and open_font().

◆ TEST() [43/710]

blender::tests::TEST ( blf_load ,
display_name_from_file  )

Definition at line 57 of file BLF_tests.cc.

References BLF_display_name_from_file(), font_path(), MEM_freeN(), name, and STREQ.

◆ TEST() [44/710]

blender::tests::TEST ( blf_load ,
display_name_from_id  )

Definition at line 66 of file BLF_tests.cc.

References BLF_display_name_from_id(), close_font(), MEM_freeN(), name, open_font(), and STREQ.

◆ TEST() [45/710]

blender::tests::TEST ( blf_load ,
font_is_loaded_id  )

Definition at line 50 of file BLF_tests.cc.

References BLF_is_loaded_id(), close_font(), and open_font().

◆ TEST() [46/710]

blender::tests::TEST ( blf_load ,
font_is_loaded_path  )

Definition at line 41 of file BLF_tests.cc.

References BLF_init(), BLF_is_loaded(), BLF_load(), close_font(), and font_path().

◆ TEST() [47/710]

blender::tests::TEST ( blf_load ,
has_glyph  )

Definition at line 76 of file BLF_tests.cc.

References BLF_has_glyph(), close_font(), and open_font().

◆ TEST() [48/710]

blender::tests::TEST ( blf_load ,
load  )

Definition at line 34 of file BLF_tests.cc.

References close_font(), and open_font().

◆ TEST() [49/710]

blender::tests::TEST ( blf_metrics ,
default_weight  )

Definition at line 98 of file BLF_tests.cc.

References BLF_default_weight(), close_font(), and open_font().

◆ TEST() [50/710]

blender::tests::TEST ( blf_metrics ,
get_vfont_metrics  )

◆ TEST() [51/710]

blender::tests::TEST ( blf_metrics ,
has_variable_weight  )

Definition at line 106 of file BLF_tests.cc.

References BLF_has_variable_weight(), close_font(), and open_font().

◆ TEST() [52/710]

blender::tests::TEST ( blf_metrics ,
variable_weight  )

Definition at line 114 of file BLF_tests.cc.

References BLF_character_weight(), BLF_size(), BLF_width(), close_font(), open_font(), and sample.

◆ TEST() [53/710]

blender::tests::TEST ( blf_wrapping_minimal ,
wrap_hardlimit  )

◆ TEST() [54/710]

◆ TEST() [55/710]

blender::tests::TEST ( blf_wrapping_minimal ,
wrap_overflow_ascii  )

◆ TEST() [56/710]

blender::tests::TEST ( blf_wrapping_minimal ,
wrap_space  )

◆ TEST() [57/710]

blender::tests::TEST ( blf_wrapping_path ,
wrap_path_hardlimit  )

◆ TEST() [58/710]

blender::tests::TEST ( blf_wrapping_path ,
wrap_path_overflow_ascii  )

◆ TEST() [59/710]

blender::tests::TEST ( blf_wrapping_path ,
wrap_path_separators_slash  )

◆ TEST() [60/710]

blender::tests::TEST ( blf_wrapping_path ,
wrap_path_separators_underscore  )

◆ TEST() [61/710]

blender::tests::TEST ( blf_wrapping_path ,
wrap_path_space  )

◆ TEST() [62/710]

blender::tests::TEST ( blf_wrapping_typographical ,
wrap_typographical_backslash  )

◆ TEST() [63/710]

blender::tests::TEST ( blf_wrapping_typographical ,
wrap_typographical_CJK  )

◆ TEST() [64/710]

blender::tests::TEST ( blf_wrapping_typographical ,
wrap_typographical_dash  )

◆ TEST() [65/710]

blender::tests::TEST ( blf_wrapping_typographical ,
wrap_typographical_forward_slash  )

◆ TEST() [66/710]

blender::tests::TEST ( blf_wrapping_typographical ,
wrap_typographical_hardlimit  )

◆ TEST() [67/710]

blender::tests::TEST ( blf_wrapping_typographical ,
wrap_typographical_thinspace  )

◆ TEST() [68/710]

blender::tests::TEST ( blf_wrapping_typographical ,
wrap_typographical_Tibetan  )

◆ TEST() [69/710]

blender::tests::TEST ( blf_wrapping_typographical ,
wrap_typographical_underscore  )

◆ TEST() [70/710]

blender::tests::TEST ( BLI_build_config ,
Basic  )

◆ TEST() [71/710]

blender::tests::TEST ( BLI_build_config ,
Endian  )

Definition at line 19 of file BLI_build_config_test.cc.

References ARCH_CPU_BIG_ENDIAN, and ARCH_CPU_LITTLE_ENDIAN.

◆ TEST() [72/710]

blender::tests::TEST ( BLI_tempfile ,
BLI_temp_directory_path_get  )

◆ TEST() [73/710]

blender::tests::TEST ( BLI_utildefines ,
ARRAY_SIZE  )

Definition at line 11 of file BLI_utildefines_test.cc.

References ARRAY_SIZE.

◆ TEST() [74/710]

blender::tests::TEST ( BLI_utildefines ,
BOUNDED_ARRAY_TYPE_SIZE  )

Definition at line 24 of file BLI_utildefines_test.cc.

◆ TEST() [75/710]

blender::tests::TEST ( BLI_uuid ,
comparison_byte_order_check  )

Definition at line 77 of file BLI_uuid_test.cc.

◆ TEST() [76/710]

blender::tests::TEST ( BLI_uuid ,
comparison_trivial  )

Definition at line 66 of file BLI_uuid_test.cc.

◆ TEST() [77/710]

blender::tests::TEST ( BLI_uuid ,
equality  )

Definition at line 57 of file BLI_uuid_test.cc.

References BLI_uuid_generate_random(), and EXPECT_EQ().

◆ TEST() [78/710]

blender::tests::TEST ( BLI_uuid ,
generate_many_random  )

◆ TEST() [79/710]

blender::tests::TEST ( BLI_uuid ,
generate_random  )

◆ TEST() [80/710]

blender::tests::TEST ( BLI_uuid ,
nil_value  )

Definition at line 41 of file BLI_uuid_test.cc.

References BLI_uuid_format(), BLI_uuid_is_nil(), BLI_uuid_nil(), and EXPECT_EQ().

◆ TEST() [81/710]

blender::tests::TEST ( BLI_uuid ,
stream_operator  )

Definition at line 158 of file BLI_uuid_test.cc.

References EXPECT_EQ().

◆ TEST() [82/710]

◆ TEST() [83/710]

blender::tests::TEST ( BLI_uuid ,
string_parsing_capitalisation  )

Definition at line 135 of file BLI_uuid_test.cc.

References BLI_uuid_format(), BLI_uuid_parse_string(), and EXPECT_EQ().

◆ TEST() [84/710]

blender::tests::TEST ( BLI_uuid ,
string_parsing_fail  )

Definition at line 149 of file BLI_uuid_test.cc.

References BLI_uuid_parse_string().

◆ TEST() [85/710]

blender::tests::TEST ( BLI_uuid ,
string_parsing_ok  )

Definition at line 124 of file BLI_uuid_test.cc.

References BLI_uuid_format(), BLI_uuid_parse_string(), and EXPECT_EQ().

◆ TEST() [86/710]

blender::tests::TEST ( bounds ,
Center  )

Definition at line 34 of file BLI_bounds_test.cc.

References blender::Bounds< T >::center(), and EXPECT_EQ().

◆ TEST() [87/710]

blender::tests::TEST ( bounds ,
Empty  )

Definition at line 14 of file BLI_bounds_test.cc.

References blender::Bounds< T >::is_empty().

◆ TEST() [88/710]

blender::tests::TEST ( bounds ,
EmptyInt  )

Definition at line 24 of file BLI_bounds_test.cc.

References blender::Bounds< T >::is_empty().

◆ TEST() [89/710]

blender::tests::TEST ( bounds ,
Large  )

Definition at line 159 of file BLI_bounds_test.cc.

References data, EXPECT_EQ(), i, blender::bounds::min_max(), and result.

◆ TEST() [90/710]

blender::tests::TEST ( bounds ,
MinGreaterThanZero  )

Definition at line 143 of file BLI_bounds_test.cc.

References data, blender::bounds::min_max(), and result.

◆ TEST() [91/710]

blender::tests::TEST ( bounds ,
MinMax  )

Definition at line 127 of file BLI_bounds_test.cc.

References data, EXPECT_EQ(), blender::bounds::min_max(), and result.

◆ TEST() [92/710]

blender::tests::TEST ( bounds ,
MinMaxEmpty  )

◆ TEST() [93/710]

blender::tests::TEST ( bounds ,
MinMaxFloat  )

Definition at line 135 of file BLI_bounds_test.cc.

References data, EXPECT_EQ(), blender::bounds::min_max(), and result.

◆ TEST() [94/710]

◆ TEST() [95/710]

blender::tests::TEST ( bounds ,
Pad  )

◆ TEST() [96/710]

blender::tests::TEST ( bounds ,
Recenter  )

◆ TEST() [97/710]

blender::tests::TEST ( bounds ,
Resize  )

◆ TEST() [98/710]

◆ TEST() [99/710]

blender::tests::TEST ( bounds ,
Size  )

Definition at line 46 of file BLI_bounds_test.cc.

References EXPECT_EQ(), and blender::Bounds< T >::size().

◆ TEST() [100/710]

blender::tests::TEST ( bounds ,
Translate  )

◆ TEST() [101/710]

◆ TEST() [102/710]

◆ TEST() [103/710]

◆ TEST() [104/710]

◆ TEST() [105/710]

◆ TEST() [106/710]

◆ TEST() [107/710]

◆ TEST() [108/710]

◆ TEST() [109/710]

◆ TEST() [110/710]

◆ TEST() [111/710]

◆ TEST() [112/710]

blender::tests::TEST ( cpp_type ,
Alignment  )

Definition at line 92 of file BLI_cpp_type_test.cc.

References CPPType_TestType, and EXPECT_EQ().

◆ TEST() [113/710]

blender::tests::TEST ( cpp_type ,
CopyAssignCompressed  )

◆ TEST() [114/710]

blender::tests::TEST ( cpp_type ,
CopyToInitialized  )

◆ TEST() [115/710]

blender::tests::TEST ( cpp_type ,
CopyToUninitialized  )

◆ TEST() [116/710]

blender::tests::TEST ( cpp_type ,
DebugPrint  )

◆ TEST() [117/710]

blender::tests::TEST ( cpp_type ,
DefaultConstruction  )

◆ TEST() [118/710]

blender::tests::TEST ( cpp_type ,
DefaultConstructTrivial  )

◆ TEST() [119/710]

blender::tests::TEST ( cpp_type ,
Destruct  )

◆ TEST() [120/710]

blender::tests::TEST ( cpp_type ,
FillInitialized  )

◆ TEST() [121/710]

blender::tests::TEST ( cpp_type ,
FillUninitialized  )

◆ TEST() [122/710]

blender::tests::TEST ( cpp_type ,
Is  )

Definition at line 97 of file BLI_cpp_type_test.cc.

References CPPType_TestType.

◆ TEST() [123/710]

blender::tests::TEST ( cpp_type ,
RelocateToInitialized  )

◆ TEST() [124/710]

blender::tests::TEST ( cpp_type ,
RelocateToUninitialized  )

◆ TEST() [125/710]

blender::tests::TEST ( cpp_type ,
Size  )

Definition at line 87 of file BLI_cpp_type_test.cc.

References CPPType_TestType, and EXPECT_EQ().

◆ TEST() [126/710]

blender::tests::TEST ( cpp_type ,
ToStaticType  )

◆ TEST() [127/710]

blender::tests::TEST ( cpp_type ,
ValueInitialize  )

◆ TEST() [128/710]

blender::tests::TEST ( cpp_type ,
ValueInitializeTrivial  )

◆ TEST() [129/710]

blender::tests::TEST ( disjoint_set ,
Test  )

◆ TEST() [130/710]

blender::tests::TEST ( fileops ,
fstream_open_charptr_filename  )

Definition at line 197 of file BLI_fileops_test.cc.

References in.

◆ TEST() [131/710]

blender::tests::TEST ( fileops ,
fstream_open_string_filename  )

Definition at line 182 of file BLI_fileops_test.cc.

References in.

◆ TEST() [132/710]

blender::tests::TEST ( function_ref ,
ConstantFunction  )

Definition at line 41 of file BLI_function_ref_test.cc.

References EXPECT_EQ().

◆ TEST() [133/710]

blender::tests::TEST ( function_ref ,
CopyDoesNotReferenceFunctionRef  )

Definition at line 71 of file BLI_function_ref_test.cc.

References EXPECT_EQ(), x, and y.

◆ TEST() [134/710]

blender::tests::TEST ( function_ref ,
CopyDoesNotReferenceFunctionRef2  )

Definition at line 81 of file BLI_function_ref_test.cc.

References EXPECT_EQ(), x, y, and z().

◆ TEST() [135/710]

blender::tests::TEST ( function_ref ,
FalsyFunctionPointer  )

Definition at line 144 of file BLI_function_ref_test.cc.

◆ TEST() [136/710]

blender::tests::TEST ( function_ref ,
FalsyStdFunction  )

Definition at line 129 of file BLI_function_ref_test.cc.

◆ TEST() [137/710]

blender::tests::TEST ( function_ref ,
InitializeWithNull  )

Definition at line 104 of file BLI_function_ref_test.cc.

◆ TEST() [138/710]

blender::tests::TEST ( function_ref ,
MutableStatefullLambda  )

Definition at line 48 of file BLI_function_ref_test.cc.

References EXPECT_EQ().

◆ TEST() [139/710]

blender::tests::TEST ( function_ref ,
Null  )

Definition at line 58 of file BLI_function_ref_test.cc.

◆ TEST() [140/710]

blender::tests::TEST ( function_ref ,
OverloadSelection  )

Definition at line 120 of file BLI_function_ref_test.cc.

References EXPECT_EQ(), and overload_test().

◆ TEST() [141/710]

blender::tests::TEST ( function_ref ,
ReferenceAnotherFunctionRef  )

Definition at line 92 of file BLI_function_ref_test.cc.

References EXPECT_EQ(), x, and y.

◆ TEST() [142/710]

blender::tests::TEST ( function_ref ,
StandaloneFunction  )

◆ TEST() [143/710]

blender::tests::TEST ( function_ref ,
StatefullLambda  )

Definition at line 22 of file BLI_function_ref_test.cc.

References b, EXPECT_EQ(), perform_binary_operation(), and result.

◆ TEST() [144/710]

blender::tests::TEST ( function_ref ,
StatelessLambda  )

Definition at line 16 of file BLI_function_ref_test.cc.

References b, EXPECT_EQ(), perform_binary_operation(), and result.

◆ TEST() [145/710]

blender::tests::TEST ( generic_array ,
AssignDefault  )

◆ TEST() [146/710]

blender::tests::TEST ( generic_array ,
BufferAndSizeConstructor  )

◆ TEST() [147/710]

◆ TEST() [148/710]

blender::tests::TEST ( generic_array ,
DefaultConstructor  )

Definition at line 136 of file BLI_generic_array_test.cc.

◆ TEST() [149/710]

blender::tests::TEST ( generic_array ,
InContainer  )

Definition at line 107 of file BLI_generic_array_test.cc.

References EXPECT_EQ(), and blender::CPPType::get().

◆ TEST() [150/710]

◆ TEST() [151/710]

blender::tests::TEST ( generic_array ,
ReinitEmpty  )

◆ TEST() [152/710]

◆ TEST() [153/710]

blender::tests::TEST ( generic_array ,
TypeConstructor  )

◆ TEST() [154/710]

blender::tests::TEST ( generic_mutable_span ,
BufferAndSizeConstructor  )

◆ TEST() [155/710]

blender::tests::TEST ( generic_mutable_span ,
TypeConstructor  )

◆ TEST() [156/710]

blender::tests::TEST ( generic_span ,
BufferAndSizeConstructor  )

◆ TEST() [157/710]

blender::tests::TEST ( generic_span ,
TypeConstructor  )

◆ TEST() [158/710]

blender::tests::TEST ( generic_vector_array ,
Append  )

◆ TEST() [159/710]

blender::tests::TEST ( generic_vector_array ,
Construct  )

◆ TEST() [160/710]

blender::tests::TEST ( generic_vector_array ,
Extend  )

◆ TEST() [161/710]

◆ TEST() [162/710]

◆ TEST() [163/710]

◆ TEST() [164/710]

blender::tests::TEST ( index_range ,
After  )

◆ TEST() [165/710]

blender::tests::TEST ( index_range ,
Before  )

◆ TEST() [166/710]

blender::tests::TEST ( index_range ,
constexpr_  )

◆ TEST() [167/710]

blender::tests::TEST ( index_range ,
Contains  )

Definition at line 164 of file BLI_index_range_test.cc.

References blender::IndexRange::contains().

◆ TEST() [168/710]

blender::tests::TEST ( index_range ,
DefaultConstructor  )

Definition at line 14 of file BLI_index_range_test.cc.

References EXPECT_EQ(), and blender::IndexRange::size().

◆ TEST() [169/710]

blender::tests::TEST ( index_range ,
DropBack  )

Definition at line 233 of file BLI_index_range_test.cc.

References blender::IndexRange::drop_back(), and EXPECT_EQ().

◆ TEST() [170/710]

blender::tests::TEST ( index_range ,
DropBackAll  )

◆ TEST() [171/710]

blender::tests::TEST ( index_range ,
DropFront  )

Definition at line 249 of file BLI_index_range_test.cc.

References blender::IndexRange::drop_front(), and EXPECT_EQ().

◆ TEST() [172/710]

blender::tests::TEST ( index_range ,
DropFrontAll  )

◆ TEST() [173/710]

blender::tests::TEST ( index_range ,
DropFrontLargeN  )

◆ TEST() [174/710]

blender::tests::TEST ( index_range ,
First  )

Definition at line 174 of file BLI_index_range_test.cc.

References EXPECT_EQ(), and blender::IndexRange::first().

◆ TEST() [175/710]

◆ TEST() [176/710]

blender::tests::TEST ( index_range ,
FromBeginEndInclusive  )

◆ TEST() [177/710]

◆ TEST() [178/710]

blender::tests::TEST ( index_range ,
FromEndSize  )

◆ TEST() [179/710]

blender::tests::TEST ( index_range ,
FromSingle  )

◆ TEST() [180/710]

blender::tests::TEST ( index_range ,
GenericAlgorithms  )

◆ TEST() [181/710]

blender::tests::TEST ( index_range ,
Intersect  )

◆ TEST() [182/710]

blender::tests::TEST ( index_range ,
Last  )

Definition at line 180 of file BLI_index_range_test.cc.

References EXPECT_EQ(), and blender::IndexRange::last().

◆ TEST() [183/710]

blender::tests::TEST ( index_range ,
MultipleElementRange  )

Definition at line 121 of file BLI_index_range_test.cc.

References EXPECT_EQ(), i, and blender::IndexRange::size().

◆ TEST() [184/710]

blender::tests::TEST ( index_range ,
OneAfterEnd  )

Definition at line 186 of file BLI_index_range_test.cc.

References EXPECT_EQ(), and blender::IndexRange::one_after_last().

◆ TEST() [185/710]

blender::tests::TEST ( index_range ,
OneBeforeStart  )

◆ TEST() [186/710]

blender::tests::TEST ( index_range ,
SingleElementRange  )

◆ TEST() [187/710]

blender::tests::TEST ( index_range ,
Slice  )

◆ TEST() [188/710]

blender::tests::TEST ( index_range ,
SliceRange  )

◆ TEST() [189/710]

◆ TEST() [190/710]

blender::tests::TEST ( index_range ,
Start  )

Definition at line 198 of file BLI_index_range_test.cc.

References EXPECT_EQ(), and blender::IndexRange::start().

◆ TEST() [191/710]

blender::tests::TEST ( index_range ,
SubscriptOperator  )

Definition at line 137 of file BLI_index_range_test.cc.

References EXPECT_EQ().

◆ TEST() [192/710]

blender::tests::TEST ( index_range ,
TakeBack  )

Definition at line 289 of file BLI_index_range_test.cc.

References EXPECT_EQ(), and blender::IndexRange::take_back().

◆ TEST() [193/710]

blender::tests::TEST ( index_range ,
TakeBackLargeN  )

◆ TEST() [194/710]

blender::tests::TEST ( index_range ,
TakeFront  )

◆ TEST() [195/710]

blender::tests::TEST ( index_range ,
TakeFrontLargeN  )

◆ TEST() [196/710]

blender::tests::TEST ( index_ranges_builder ,
Empty  )

◆ TEST() [197/710]

◆ TEST() [198/710]

◆ TEST() [199/710]

blender::tests::TEST ( index_ranges_builder ,
Single  )

◆ TEST() [200/710]

◆ TEST() [201/710]

◆ TEST() [202/710]

◆ TEST() [203/710]

◆ TEST() [204/710]

◆ TEST() [205/710]

◆ TEST() [206/710]

◆ TEST() [207/710]

blender::tests::TEST ( linear_allocator ,
AllocateLarge  )

◆ TEST() [208/710]

blender::tests::TEST ( linear_allocator ,
AllocationAlignment  )

◆ TEST() [209/710]

blender::tests::TEST ( linear_allocator ,
Construct  )

◆ TEST() [210/710]

blender::tests::TEST ( linear_allocator ,
ConstructArray  )

◆ TEST() [211/710]

◆ TEST() [212/710]

blender::tests::TEST ( linear_allocator ,
ConstructElementsAndPointerArray  )

◆ TEST() [213/710]

◆ TEST() [214/710]

blender::tests::TEST ( linear_allocator ,
ManyAllocations  )

◆ TEST() [215/710]

◆ TEST() [216/710]

◆ TEST() [217/710]

◆ TEST() [218/710]

◆ TEST() [219/710]

◆ TEST() [220/710]

blender::tests::TEST ( map ,
AddMany  )

◆ TEST() [221/710]

◆ TEST() [222/710]

◆ TEST() [223/710]

blender::tests::TEST ( map ,
AddOrModifyExceptions  )

◆ TEST() [224/710]

◆ TEST() [225/710]

◆ TEST() [226/710]

◆ TEST() [227/710]

◆ TEST() [228/710]

◆ TEST() [229/710]

◆ TEST() [230/710]

blender::tests::TEST ( map ,
CopyConstructorExceptions  )

◆ TEST() [231/710]

◆ TEST() [232/710]

◆ TEST() [233/710]

blender::tests::TEST ( map ,
Equality  )

◆ TEST() [234/710]

◆ TEST() [235/710]

◆ TEST() [236/710]

◆ TEST() [237/710]

◆ TEST() [238/710]

◆ TEST() [239/710]

◆ TEST() [240/710]

◆ TEST() [241/710]

◆ TEST() [242/710]

◆ TEST() [243/710]

◆ TEST() [244/710]

blender::tests::TEST ( map ,
LookupOrAddCB_Lambdas  )

◆ TEST() [245/710]

◆ TEST() [246/710]

◆ TEST() [247/710]

◆ TEST() [248/710]

◆ TEST() [249/710]

blender::tests::TEST ( map ,
MoveConstructorExceptions  )

◆ TEST() [250/710]

◆ TEST() [251/710]

◆ TEST() [252/710]

◆ TEST() [253/710]

◆ TEST() [254/710]

◆ TEST() [255/710]

◆ TEST() [256/710]

◆ TEST() [257/710]

◆ TEST() [258/710]

◆ TEST() [259/710]

◆ TEST() [260/710]

◆ TEST() [261/710]

◆ TEST() [262/710]

◆ TEST() [263/710]

◆ TEST() [264/710]

◆ TEST() [265/710]

◆ TEST() [266/710]

◆ TEST() [267/710]

◆ TEST() [268/710]

blender::tests::TEST ( math_base ,
CeilPowerOf10  )

Definition at line 148 of file BLI_math_base_test.cc.

References ceil_power_of_10(), and EXPECT_EQ().

◆ TEST() [269/710]

blender::tests::TEST ( math_base ,
ClampInt  )

Definition at line 171 of file BLI_math_base_test.cc.

References blender::math::clamp(), and EXPECT_EQ().

◆ TEST() [270/710]

blender::tests::TEST ( math_base ,
CompareFFRelativeNormal  )

Definition at line 22 of file BLI_math_base_test.cc.

References compare_ff_relative().

◆ TEST() [271/710]

blender::tests::TEST ( math_base ,
CompareFFRelativeValid  )

Definition at line 17 of file BLI_math_base_test.cc.

◆ TEST() [272/710]

blender::tests::TEST ( math_base ,
CompareFFRelativeZero  )

Definition at line 53 of file BLI_math_base_test.cc.

References compare_ff_relative().

◆ TEST() [273/710]

blender::tests::TEST ( math_base ,
FlooredFMod  )

Definition at line 201 of file BLI_math_base_test.cc.

References floored_fmod().

◆ TEST() [274/710]

blender::tests::TEST ( math_base ,
FloorPowerOf10  )

Definition at line 157 of file BLI_math_base_test.cc.

References EXPECT_EQ(), and floor_power_of_10().

◆ TEST() [275/710]

blender::tests::TEST ( math_base ,
InterpolateInt  )

Definition at line 196 of file BLI_math_base_test.cc.

References EXPECT_EQ(), and blender::math::interpolate().

◆ TEST() [276/710]

blender::tests::TEST ( math_base ,
Log2CeilU  )

Definition at line 133 of file BLI_math_base_test.cc.

References EXPECT_EQ(), and log2_ceil_u().

◆ TEST() [277/710]

blender::tests::TEST ( math_base ,
Log2FloorU  )

Definition at line 118 of file BLI_math_base_test.cc.

References EXPECT_EQ(), and log2_floor_u().

◆ TEST() [278/710]

blender::tests::TEST ( math_base ,
Midpoint  )

Definition at line 191 of file BLI_math_base_test.cc.

References blender::math::midpoint().

◆ TEST() [279/710]

blender::tests::TEST ( math_base ,
MinVectorAndFloat  )

Definition at line 166 of file BLI_math_base_test.cc.

References EXPECT_EQ(), and blender::math::min().

◆ TEST() [280/710]

blender::tests::TEST ( math_base ,
ModPeriodic  )

Definition at line 214 of file BLI_math_base_test.cc.

References EXPECT_EQ(), and blender::math::mod_periodic().

◆ TEST() [281/710]

blender::tests::TEST ( math_base ,
StepExact  )

Definition at line 186 of file BLI_math_base_test.cc.

References EXPECT_EQ(), and blender::math::step().

◆ TEST() [282/710]

blender::tests::TEST ( math_base ,
StepGreaterThan  )

Definition at line 181 of file BLI_math_base_test.cc.

References EXPECT_EQ(), and blender::math::step().

◆ TEST() [283/710]

blender::tests::TEST ( math_base ,
StepLessThan  )

Definition at line 176 of file BLI_math_base_test.cc.

References EXPECT_EQ(), and blender::math::step().

◆ TEST() [284/710]

blender::tests::TEST ( math_base ,
UlpDiffFF  )

Definition at line 95 of file BLI_math_base_test.cc.

References EXPECT_EQ(), and ulp_diff_ff().

◆ TEST() [285/710]

blender::tests::TEST ( math_half ,
float_to_half_array  )

◆ TEST() [286/710]

blender::tests::TEST ( math_half ,
float_to_half_make_finite_array  )

◆ TEST() [287/710]

blender::tests::TEST ( math_half ,
float_to_half_make_finite_scalar  )

Definition at line 81 of file BLI_math_half_test.cc.

References EXPECT_EQ(), and HFUN.

◆ TEST() [288/710]

blender::tests::TEST ( math_half ,
float_to_half_scalar  )

Definition at line 43 of file BLI_math_half_test.cc.

References EXPECT_EQ(), and HFUN.

◆ TEST() [289/710]

blender::tests::TEST ( math_half ,
half_to_float_array  )

◆ TEST() [290/710]

blender::tests::TEST ( math_half ,
half_to_float_scalar  )

Definition at line 16 of file BLI_math_half_test.cc.

References EXPECT_EQ(), and blender::math::half_to_float().

◆ TEST() [291/710]

blender::tests::TEST ( math_matrix ,
MatrixAccess  )

Access helpers.

Definition at line 219 of file BLI_math_matrix_test.cc.

References EXPECT_EQ().

◆ TEST() [292/710]

blender::tests::TEST ( math_matrix ,
MatrixAdjoint  )

Definition at line 205 of file BLI_math_matrix_test.cc.

References adjoint(), and transpose.

◆ TEST() [293/710]

◆ TEST() [294/710]

blender::tests::TEST ( math_matrix ,
MatrixDeterminant  )

Definition at line 192 of file BLI_math_matrix_test.cc.

References determinant().

◆ TEST() [295/710]

◆ TEST() [296/710]

blender::tests::TEST ( math_matrix ,
MatrixInterpolationRegular  )

◆ TEST() [297/710]

blender::tests::TEST ( math_matrix ,
MatrixInterpolationSingularity  )

◆ TEST() [298/710]

blender::tests::TEST ( math_matrix ,
MatrixInverse  )

◆ TEST() [299/710]

◆ TEST() [300/710]

blender::tests::TEST ( math_matrix ,
MatrixModify  )

◆ TEST() [301/710]

blender::tests::TEST ( math_matrix ,
MatrixMultiply  )

Definition at line 347 of file BLI_math_matrix_test.cc.

References result.

◆ TEST() [302/710]

blender::tests::TEST ( math_matrix ,
MatrixProjection  )

Definition at line 587 of file BLI_math_matrix_test.cc.

References blender::math::atan(), e, and transpose.

◆ TEST() [303/710]

blender::tests::TEST ( math_matrix ,
MatrixPseudoInverse  )

◆ TEST() [304/710]

blender::tests::TEST ( math_matrix ,
MatrixToNearestEuler  )

Definition at line 377 of file BLI_math_matrix_test.cc.

References e, blender::math::to_nearest_euler(), and blender::math::ZXY.

◆ TEST() [305/710]

blender::tests::TEST ( math_matrix ,
MatrixToQuaternionLegacy  )

Definition at line 447 of file BLI_math_matrix_test.cc.

References blender::math::to_quaternion_legacy().

◆ TEST() [306/710]

◆ TEST() [307/710]

blender::tests::TEST ( math_matrix ,
MatrixTransform2D  )

◆ TEST() [308/710]

blender::tests::TEST ( math_matrix ,
MatrixTranspose  )

Definition at line 458 of file BLI_math_matrix_test.cc.

References EXPECT_EQ(), and transpose.

◆ TEST() [309/710]

blender::tests::TEST ( math_matrix ,
ToQuaternionSafe  )

◆ TEST() [310/710]

blender::tests::TEST ( math_matrix ,
Transformation2DMatrixDecomposition  )

◆ TEST() [311/710]

◆ TEST() [312/710]

blender::tests::TEST ( math_matrix_types ,
AddOperator  )

◆ TEST() [313/710]

blender::tests::TEST ( math_matrix_types ,
ComponentAccess  )

Definition at line 126 of file BLI_math_matrix_types_test.cc.

References EXPECT_EQ().

◆ TEST() [314/710]

blender::tests::TEST ( math_matrix_types ,
ComponentMasking  )

Definition at line 76 of file BLI_math_matrix_types_test.cc.

References EXPECT_EQ().

◆ TEST() [315/710]

blender::tests::TEST ( math_matrix_types ,
DefaultConstructor  )

Definition at line 14 of file BLI_math_matrix_types_test.cc.

References EXPECT_EQ().

◆ TEST() [316/710]

blender::tests::TEST ( math_matrix_types ,
MatrixMultiplyOperator  )

◆ TEST() [317/710]

blender::tests::TEST ( math_matrix_types ,
MultiplyOperator  )

Definition at line 205 of file BLI_math_matrix_types_test.cc.

References EXPECT_EQ().

◆ TEST() [318/710]

blender::tests::TEST ( math_matrix_types ,
PointerArrayConversion  )

Definition at line 115 of file BLI_math_matrix_types_test.cc.

References EXPECT_EQ(), float, and ptr.

◆ TEST() [319/710]

blender::tests::TEST ( math_matrix_types ,
PointerConversion  )

Definition at line 86 of file BLI_math_matrix_types_test.cc.

References EXPECT_EQ().

◆ TEST() [320/710]

blender::tests::TEST ( math_matrix_types ,
SmallerMatrixConstructor  )

Definition at line 61 of file BLI_math_matrix_types_test.cc.

References EXPECT_EQ().

◆ TEST() [321/710]

◆ TEST() [322/710]

blender::tests::TEST ( math_matrix_types ,
SubtractOperator  )

◆ TEST() [323/710]

blender::tests::TEST ( math_matrix_types ,
TypeConversion  )

Definition at line 96 of file BLI_math_matrix_types_test.cc.

References EXPECT_EQ().

◆ TEST() [324/710]

blender::tests::TEST ( math_matrix_types ,
VectorConstructor  )

Definition at line 50 of file BLI_math_matrix_types_test.cc.

References EXPECT_EQ().

◆ TEST() [325/710]

blender::tests::TEST ( math_matrix_types ,
VectorMultiplyOperator  )

Definition at line 275 of file BLI_math_matrix_types_test.cc.

References EXPECT_EQ(), and result.

◆ TEST() [326/710]

blender::tests::TEST ( math_matrix_types ,
ViewAssignment  )

◆ TEST() [327/710]

blender::tests::TEST ( math_matrix_types ,
ViewConstructor  )

◆ TEST() [328/710]

blender::tests::TEST ( math_matrix_types ,
ViewFromCstyleMatrix  )

◆ TEST() [329/710]

blender::tests::TEST ( math_matrix_types ,
ViewMatrixMultiplyOperator  )

◆ TEST() [330/710]

blender::tests::TEST ( math_matrix_types ,
ViewMatrixNormalize  )

◆ TEST() [331/710]

blender::tests::TEST ( math_matrix_types ,
ViewScalarOperators  )

◆ TEST() [332/710]

blender::tests::TEST ( math_matrix_types ,
ViewVectorMultiplyOperator  )

◆ TEST() [333/710]

◆ TEST() [334/710]

blender::tests::TEST ( math_rotation_types ,
AngleMethods  )

Definition at line 230 of file BLI_math_rotation_types_test.cc.

References M_PI.

◆ TEST() [335/710]

blender::tests::TEST ( math_rotation_types ,
AngleSinCosOperators  )

Definition at line 432 of file BLI_math_rotation_types_test.cc.

References e, M_PI, M_PI_2, and M_PI_4.

◆ TEST() [336/710]

blender::tests::TEST ( math_rotation_types ,
AxisConvertToVec  )

◆ TEST() [337/710]

◆ TEST() [338/710]

◆ TEST() [339/710]

◆ TEST() [340/710]

blender::tests::TEST ( math_rotation_types ,
DualQuaternionOperators  )

◆ TEST() [341/710]

◆ TEST() [342/710]

◆ TEST() [343/710]

blender::tests::TEST ( math_rotation_types ,
Euler3Order  )

◆ TEST() [344/710]

blender::tests::TEST ( math_rotation_types ,
QuaternionDefaultConstructor  )

◆ TEST() [345/710]

blender::tests::TEST ( math_rotation_types ,
QuaternionExpmap  )

◆ TEST() [346/710]

◆ TEST() [347/710]

◆ TEST() [348/710]

◆ TEST() [349/710]

blender::tests::TEST ( math_rotation_types ,
QuaternionUnaryMinus  )

Definition at line 196 of file BLI_math_rotation_types_test.cc.

References EXPECT_EQ(), and result.

◆ TEST() [350/710]

blender::tests::TEST ( math_rotation_types ,
QuaternionVectorConstructor  )

◆ TEST() [351/710]

◆ TEST() [352/710]

blender::tests::TEST ( math_vec_types ,
Add  )

Definition at line 151 of file BLI_math_vector_types_test.cc.

References Add(), and result.

◆ TEST() [353/710]

blender::tests::TEST ( math_vec_types ,
AddFloatByVector  )

Definition at line 163 of file BLI_math_vector_types_test.cc.

References result.

◆ TEST() [354/710]

blender::tests::TEST ( math_vec_types ,
ComponentMasking  )

Definition at line 117 of file BLI_math_vector_types_test.cc.

References EXPECT_EQ(), and i.

◆ TEST() [355/710]

blender::tests::TEST ( math_vec_types ,
Divide  )

Definition at line 239 of file BLI_math_vector_types_test.cc.

References b, and result.

◆ TEST() [356/710]

blender::tests::TEST ( math_vec_types ,
DivideFloatByVector  )

Definition at line 248 of file BLI_math_vector_types_test.cc.

References b, and result.

◆ TEST() [357/710]

blender::tests::TEST ( math_vec_types ,
DivideFloatByVectorSmall  )

Definition at line 257 of file BLI_math_vector_types_test.cc.

References result.

◆ TEST() [358/710]

blender::tests::TEST ( math_vec_types ,
MixedScalarVectorConstructorVec3  )

Definition at line 65 of file BLI_math_vector_types_test.cc.

◆ TEST() [359/710]

blender::tests::TEST ( math_vec_types ,
MixedScalarVectorConstructorVec4  )

Definition at line 78 of file BLI_math_vector_types_test.cc.

References EXPECT_EQ().

◆ TEST() [360/710]

blender::tests::TEST ( math_vec_types ,
Mul  )

Definition at line 211 of file BLI_math_vector_types_test.cc.

References Mul(), and result.

◆ TEST() [361/710]

blender::tests::TEST ( math_vec_types ,
MulFloatByVector  )

Definition at line 223 of file BLI_math_vector_types_test.cc.

References result.

◆ TEST() [362/710]

blender::tests::TEST ( math_vec_types ,
MultiScalarConstructorVec2  )

Definition at line 41 of file BLI_math_vector_types_test.cc.

References EXPECT_EQ(), and i.

◆ TEST() [363/710]

blender::tests::TEST ( math_vec_types ,
MultiScalarConstructorVec3  )

Definition at line 48 of file BLI_math_vector_types_test.cc.

References EXPECT_EQ(), and i.

◆ TEST() [364/710]

blender::tests::TEST ( math_vec_types ,
MultiScalarConstructorVec4  )

Definition at line 56 of file BLI_math_vector_types_test.cc.

References EXPECT_EQ(), and i.

◆ TEST() [365/710]

blender::tests::TEST ( math_vec_types ,
PointerArrayConversion  )

Definition at line 134 of file BLI_math_vector_types_test.cc.

References EXPECT_EQ(), float, and ptr.

◆ TEST() [366/710]

blender::tests::TEST ( math_vec_types ,
PointerConversion  )

Definition at line 125 of file BLI_math_vector_types_test.cc.

References EXPECT_EQ().

◆ TEST() [367/710]

blender::tests::TEST ( math_vec_types ,
ScalarConstructorDouble  )

Definition at line 34 of file BLI_math_vector_types_test.cc.

◆ TEST() [368/710]

blender::tests::TEST ( math_vec_types ,
ScalarConstructorFloat  )

Definition at line 27 of file BLI_math_vector_types_test.cc.

◆ TEST() [369/710]

blender::tests::TEST ( math_vec_types ,
ScalarConstructorInt  )

Definition at line 20 of file BLI_math_vector_types_test.cc.

References EXPECT_EQ(), and i.

◆ TEST() [370/710]

blender::tests::TEST ( math_vec_types ,
ScalarConstructorUnsigned  )

Definition at line 13 of file BLI_math_vector_types_test.cc.

References EXPECT_EQ().

◆ TEST() [371/710]

blender::tests::TEST ( math_vec_types ,
Sub  )

Definition at line 179 of file BLI_math_vector_types_test.cc.

References result, and Sub().

◆ TEST() [372/710]

blender::tests::TEST ( math_vec_types ,
SubFloatByVector  )

Definition at line 195 of file BLI_math_vector_types_test.cc.

References result.

◆ TEST() [373/710]

◆ TEST() [374/710]

blender::tests::TEST ( math_vec_types ,
VectorTypeConversion  )

Definition at line 144 of file BLI_math_vector_types_test.cc.

References EXPECT_EQ().

◆ TEST() [375/710]

blender::tests::TEST ( math_vector ,
CeilToMultiple  )

Definition at line 127 of file BLI_math_vector_test.cc.

References b, blender::math::ceil_to_multiple(), and result.

◆ TEST() [376/710]

blender::tests::TEST ( math_vector ,
Clamp  )

◆ TEST() [377/710]

blender::tests::TEST ( math_vector ,
ClampVecWithFloats  )

Definition at line 13 of file BLI_math_vector_test.cc.

References b, clamp_v2(), blender::math::max(), and blender::math::min().

◆ TEST() [378/710]

blender::tests::TEST ( math_vector ,
DivideCeil  )

Definition at line 137 of file BLI_math_vector_test.cc.

References b, blender::math::divide_ceil(), and result.

◆ TEST() [379/710]

blender::tests::TEST ( math_vector ,
exp  )

Definition at line 192 of file BLI_math_vector_test.cc.

References blender::math::exp(), and result.

◆ TEST() [380/710]

blender::tests::TEST ( math_vector ,
InterpolateFloat  )

Definition at line 117 of file BLI_math_vector_test.cc.

References b, blender::math::interpolate(), and result.

◆ TEST() [381/710]

blender::tests::TEST ( math_vector ,
InterpolateInt  )

Definition at line 107 of file BLI_math_vector_test.cc.

References b, EXPECT_EQ(), blender::math::interpolate(), and result.

◆ TEST() [382/710]

blender::tests::TEST ( math_vector ,
MaxList  )

Definition at line 88 of file BLI_math_vector_test.cc.

References EXPECT_EQ(), blender::math::max(), and result.

◆ TEST() [383/710]

blender::tests::TEST ( math_vector ,
MinList  )

Definition at line 69 of file BLI_math_vector_test.cc.

References EXPECT_EQ(), blender::math::min(), and result.

◆ TEST() [384/710]

blender::tests::TEST ( math_vector ,
rcp  )

Definition at line 174 of file BLI_math_vector_test.cc.

References blender::math::rcp(), and result.

◆ TEST() [385/710]

blender::tests::TEST ( math_vector ,
safe_rcp  )

Definition at line 183 of file BLI_math_vector_test.cc.

References result, and blender::math::safe_rcp().

◆ TEST() [386/710]

blender::tests::TEST ( math_vector ,
safe_sqrt  )

Definition at line 165 of file BLI_math_vector_test.cc.

References result, and blender::math::safe_sqrt().

◆ TEST() [387/710]

blender::tests::TEST ( math_vector ,
Sign  )

Definition at line 147 of file BLI_math_vector_test.cc.

References result, Sign(), and blender::math::sign().

◆ TEST() [388/710]

blender::tests::TEST ( math_vector ,
sqrt  )

Definition at line 156 of file BLI_math_vector_test.cc.

References result, and blender::math::sqrt().

◆ TEST() [389/710]

blender::tests::TEST ( math_vector ,
square  )

Definition at line 201 of file BLI_math_vector_test.cc.

References result, and blender::math::square().

◆ TEST() [390/710]

blender::tests::TEST ( math_vector ,
test_invert_v3_safe  )

Definition at line 34 of file BLI_math_vector_test.cc.

References invert_v3(), and invert_v3_safe().

◆ TEST() [391/710]

◆ TEST() [392/710]

blender::tests::TEST ( memory_utils ,
ScopedDefer1  )

Definition at line 66 of file BLI_memory_utils_test.cc.

References BLI_SCOPED_DEFER, and EXPECT_EQ().

◆ TEST() [393/710]

blender::tests::TEST ( memory_utils ,
ScopedDefer2  )

Definition at line 79 of file BLI_memory_utils_test.cc.

References BLI_SCOPED_DEFER, and EXPECT_EQ().

◆ TEST() [394/710]

blender::tests::TEST ( multi_value_map ,
AddMultiple  )

◆ TEST() [395/710]

◆ TEST() [396/710]

◆ TEST() [397/710]

blender::tests::TEST ( multi_value_map ,
LookupExistant  )

◆ TEST() [398/710]

blender::tests::TEST ( multi_value_map ,
LookupMutable  )

◆ TEST() [399/710]

blender::tests::TEST ( multi_value_map ,
LookupNotExistant  )

◆ TEST() [400/710]

blender::tests::TEST ( multi_value_map ,
UniquePtr  )

◆ TEST() [401/710]

◆ TEST() [402/710]

blender::tests::TEST ( mutable_span ,
Contains  )

Definition at line 171 of file BLI_span_test.cc.

References blender::MutableSpan< T >::contains().

◆ TEST() [403/710]

◆ TEST() [404/710]

blender::tests::TEST ( pool ,
DefaultConstructor  )

Definition at line 14 of file BLI_pool_test.cc.

References EXPECT_EQ(), and blender::Pool< T, ChunkLen >::size().

◆ TEST() [405/710]

◆ TEST() [406/710]

blender::tests::TEST ( set ,
AddAs  )

◆ TEST() [407/710]

◆ TEST() [408/710]

◆ TEST() [409/710]

◆ TEST() [410/710]

◆ TEST() [411/710]

◆ TEST() [412/710]

◆ TEST() [413/710]

◆ TEST() [414/710]

◆ TEST() [415/710]

◆ TEST() [416/710]

◆ TEST() [417/710]

blender::tests::TEST ( set ,
ContainsNotExistant  )

◆ TEST() [418/710]

◆ TEST() [419/710]

◆ TEST() [420/710]

blender::tests::TEST ( set ,
CopyConstructorExceptions  )

◆ TEST() [421/710]

◆ TEST() [422/710]

◆ TEST() [423/710]

◆ TEST() [424/710]

blender::tests::TEST ( set ,
Equality  )

Definition at line 607 of file BLI_set_test.cc.

References b, e, and EXPECT_EQ().

◆ TEST() [425/710]

blender::tests::TEST ( set ,
ForwardIterator  )

◆ TEST() [426/710]

◆ TEST() [427/710]

◆ TEST() [428/710]

◆ TEST() [429/710]

blender::tests::TEST ( set ,
IntrusiveIntKey  )

Definition at line 394 of file BLI_set_test.cc.

◆ TEST() [430/710]

◆ TEST() [431/710]

◆ TEST() [432/710]

◆ TEST() [433/710]

◆ TEST() [434/710]

◆ TEST() [435/710]

blender::tests::TEST ( set ,
MoveAssignment  )

◆ TEST() [436/710]

blender::tests::TEST ( set ,
MoveConstructor  )

◆ TEST() [437/710]

blender::tests::TEST ( set ,
MoveConstructorExceptions  )

◆ TEST() [438/710]

◆ TEST() [439/710]

◆ TEST() [440/710]

◆ TEST() [441/710]

◆ TEST() [442/710]

◆ TEST() [443/710]

◆ TEST() [444/710]

◆ TEST() [445/710]

◆ TEST() [446/710]

◆ TEST() [447/710]

◆ TEST() [448/710]

blender::tests::TEST ( set ,
SpanConstructorExceptions  )

Definition at line 484 of file BLI_set_test.cc.

◆ TEST() [449/710]

◆ TEST() [450/710]

◆ TEST() [451/710]

◆ TEST() [452/710]

blender::tests::TEST ( span ,
AddConstToPointer  )

Definition at line 24 of file BLI_span_test.cc.

References EXPECT_EQ(), and blender::Span< T >::size().

◆ TEST() [453/710]

blender::tests::TEST ( span ,
CastLargerSize  )

◆ TEST() [454/710]

blender::tests::TEST ( span ,
CastSameSize  )

◆ TEST() [455/710]

blender::tests::TEST ( span ,
CastSmallerSize  )

◆ TEST() [456/710]

blender::tests::TEST ( span ,
Comparison  )

Definition at line 438 of file BLI_span_test.cc.

References b.

◆ TEST() [457/710]

◆ TEST() [458/710]

blender::tests::TEST ( span ,
Contains  )

Definition at line 159 of file BLI_span_test.cc.

References blender::Span< T >::contains().

◆ TEST() [459/710]

blender::tests::TEST ( span ,
ContainsPtr  )

Definition at line 279 of file BLI_span_test.cc.

References blender::Span< T >::contains_ptr().

◆ TEST() [460/710]

blender::tests::TEST ( span ,
CopyFrom  )

Definition at line 347 of file BLI_span_test.cc.

References blender::MutableSpan< T >::copy_from(), and EXPECT_EQ().

◆ TEST() [461/710]

blender::tests::TEST ( span ,
Count  )

Definition at line 183 of file BLI_span_test.cc.

References blender::Span< T >::count(), and EXPECT_EQ().

◆ TEST() [462/710]

blender::tests::TEST ( span ,
DropBack  )

Definition at line 43 of file BLI_span_test.cc.

References blender::Span< T >::drop_back(), and EXPECT_EQ().

◆ TEST() [463/710]

blender::tests::TEST ( span ,
DropBackAll  )

◆ TEST() [464/710]

blender::tests::TEST ( span ,
DropFront  )

Definition at line 59 of file BLI_span_test.cc.

References blender::Span< T >::drop_front(), and EXPECT_EQ().

◆ TEST() [465/710]

blender::tests::TEST ( span ,
DropFrontAll  )

◆ TEST() [466/710]

blender::tests::TEST ( span ,
DropFrontLargeN  )

◆ TEST() [467/710]

blender::tests::TEST ( span ,
Fill  )

Definition at line 228 of file BLI_span_test.cc.

References EXPECT_EQ(), and blender::MutableSpan< T >::fill().

◆ TEST() [468/710]

blender::tests::TEST ( span ,
FillIndices  )

Definition at line 240 of file BLI_span_test.cc.

References EXPECT_EQ(), and blender::MutableSpan< T >::fill_indices().

◆ TEST() [469/710]

blender::tests::TEST ( span ,
FirstIndex  )

Definition at line 293 of file BLI_span_test.cc.

References EXPECT_EQ(), and blender::Span< T >::first_index().

◆ TEST() [470/710]

blender::tests::TEST ( span ,
FirstLast  )

◆ TEST() [471/710]

blender::tests::TEST ( span ,
FirstLast_OneElement  )

◆ TEST() [472/710]

blender::tests::TEST ( span ,
FromArray  )

Definition at line 219 of file BLI_span_test.cc.

References EXPECT_EQ(), and blender::Span< T >::size().

◆ TEST() [473/710]

blender::tests::TEST ( span ,
FromInitializerList  )

Definition at line 203 of file BLI_span_test.cc.

References test_ref_from_initializer_list().

◆ TEST() [474/710]

blender::tests::TEST ( span ,
FromSmallVector  )

Definition at line 14 of file BLI_span_test.cc.

References EXPECT_EQ(), and blender::Span< T >::size().

◆ TEST() [475/710]

blender::tests::TEST ( span ,
FromVector  )

Definition at line 208 of file BLI_span_test.cc.

References EXPECT_EQ(), and blender::Span< T >::size().

◆ TEST() [476/710]

blender::tests::TEST ( span ,
ImplicitConversions  )

Definition at line 426 of file BLI_span_test.cc.

References BLI_STATIC_ASSERT.

◆ TEST() [477/710]

blender::tests::TEST ( span ,
IsReferencing  )

Definition at line 33 of file BLI_span_test.cc.

References ARRAY_SIZE, EXPECT_EQ(), and blender::MutableSpan< T >::size().

◆ TEST() [478/710]

◆ TEST() [479/710]

◆ TEST() [480/710]

blender::tests::TEST ( span ,
ReverseMutableSpan  )

Definition at line 373 of file BLI_span_test.cc.

References blender::MutableSpan< T >::reverse().

◆ TEST() [481/710]

blender::tests::TEST ( span ,
SizeInBytes  )

Definition at line 252 of file BLI_span_test.cc.

References EXPECT_EQ(), and blender::Span< T >::size_in_bytes().

◆ TEST() [482/710]

blender::tests::TEST ( span ,
Slice  )

Definition at line 121 of file BLI_span_test.cc.

References EXPECT_EQ(), and blender::Span< T >::slice().

◆ TEST() [483/710]

blender::tests::TEST ( span ,
SliceEmpty  )

Definition at line 130 of file BLI_span_test.cc.

References EXPECT_EQ(), and blender::Span< T >::slice().

◆ TEST() [484/710]

◆ TEST() [485/710]

blender::tests::TEST ( span ,
SliceRange  )

Definition at line 137 of file BLI_span_test.cc.

References EXPECT_EQ(), and blender::Span< T >::slice().

◆ TEST() [486/710]

blender::tests::TEST ( span ,
TakeBack  )

Definition at line 103 of file BLI_span_test.cc.

References EXPECT_EQ(), and blender::Span< T >::take_back().

◆ TEST() [487/710]

◆ TEST() [488/710]

blender::tests::TEST ( span ,
TakeFront  )

Definition at line 85 of file BLI_span_test.cc.

References EXPECT_EQ(), and blender::Span< T >::take_front().

◆ TEST() [489/710]

blender::tests::TEST ( span ,
TakeFrontLargeN  )

◆ TEST() [490/710]

blender::tests::TEST ( span ,
VoidPointerSpan  )

Definition at line 337 of file BLI_span_test.cc.

References b, and EXPECT_EQ().

◆ TEST() [491/710]

◆ TEST() [492/710]

◆ TEST() [493/710]

blender::tests::TEST ( stack ,
DefaultConstructor  )

◆ TEST() [494/710]

blender::tests::TEST ( stack ,
MoveAssignment  )

◆ TEST() [495/710]

blender::tests::TEST ( stack ,
MoveConstructor  )

◆ TEST() [496/710]

blender::tests::TEST ( stack ,
MoveConstructorExceptions  )

◆ TEST() [497/710]

blender::tests::TEST ( stack ,
OveralignedValues  )

◆ TEST() [498/710]

◆ TEST() [499/710]

◆ TEST() [500/710]

◆ TEST() [501/710]

◆ TEST() [502/710]

◆ TEST() [503/710]

◆ TEST() [504/710]

◆ TEST() [505/710]

◆ TEST() [506/710]

◆ TEST() [507/710]

◆ TEST() [508/710]

◆ TEST() [509/710]

blender::tests::TEST ( stack ,
SpanConstructorExceptions  )

Definition at line 202 of file BLI_stack_cxx_test.cc.

◆ TEST() [510/710]

◆ TEST() [511/710]

blender::tests::TEST ( string_ref ,
Add  )

Definition at line 202 of file BLI_string_ref_test.cc.

References Add(), b, EXPECT_EQ(), and result.

◆ TEST() [512/710]

blender::tests::TEST ( string_ref ,
AddCharPtr1  )

Definition at line 210 of file BLI_string_ref_test.cc.

References EXPECT_EQ(), and result.

◆ TEST() [513/710]

blender::tests::TEST ( string_ref ,
AddCharPtr2  )

Definition at line 217 of file BLI_string_ref_test.cc.

References EXPECT_EQ(), and result.

◆ TEST() [514/710]

blender::tests::TEST ( string_ref ,
AddString1  )

Definition at line 224 of file BLI_string_ref_test.cc.

References EXPECT_EQ(), and result.

◆ TEST() [515/710]

blender::tests::TEST ( string_ref ,
AddString2  )

Definition at line 231 of file BLI_string_ref_test.cc.

References EXPECT_EQ(), and result.

◆ TEST() [516/710]

blender::tests::TEST ( string_ref ,
CompareEqual  )

Definition at line 238 of file BLI_string_ref_test.cc.

◆ TEST() [517/710]

blender::tests::TEST ( string_ref ,
CompareEqualCharPtr1  )

Definition at line 249 of file BLI_string_ref_test.cc.

◆ TEST() [518/710]

blender::tests::TEST ( string_ref ,
CompareEqualCharPtr2  )

Definition at line 258 of file BLI_string_ref_test.cc.

◆ TEST() [519/710]

blender::tests::TEST ( string_ref ,
CompareEqualString1  )

Definition at line 267 of file BLI_string_ref_test.cc.

◆ TEST() [520/710]

blender::tests::TEST ( string_ref ,
CompareEqualString2  )

Definition at line 276 of file BLI_string_ref_test.cc.

◆ TEST() [521/710]

blender::tests::TEST ( string_ref ,
Constexpr  )

◆ TEST() [522/710]

blender::tests::TEST ( string_ref ,
CopyBytesTruncated  )

◆ TEST() [523/710]

blender::tests::TEST ( string_ref ,
CopyUtf8Truncated  )

◆ TEST() [524/710]

blender::tests::TEST ( string_ref ,
CStringConstructor  )

◆ TEST() [525/710]

blender::tests::TEST ( string_ref ,
DefaultConstructor  )

Definition at line 112 of file BLI_string_ref_test.cc.

References EXPECT_EQ(), and blender::StringRefBase::size().

◆ TEST() [526/710]

blender::tests::TEST ( string_ref ,
DropKnownPrefix  )

◆ TEST() [527/710]

blender::tests::TEST ( string_ref ,
DropPrefixLargeN  )

◆ TEST() [528/710]

blender::tests::TEST ( string_ref ,
DropPrefixN  )

◆ TEST() [529/710]

blender::tests::TEST ( string_ref ,
DropSuffix  )

◆ TEST() [530/710]

blender::tests::TEST ( string_ref ,
DropSuffixLargeN  )

◆ TEST() [531/710]

blender::tests::TEST ( string_ref ,
EndsWith  )

Definition at line 311 of file BLI_string_ref_test.cc.

References blender::StringRefBase::endswith().

◆ TEST() [532/710]

blender::tests::TEST ( string_ref ,
FromStringView  )

Definition at line 519 of file BLI_string_ref_test.cc.

References EXPECT_EQ(), and view.

◆ TEST() [533/710]

◆ TEST() [534/710]

blender::tests::TEST ( string_ref ,
PointerWithLengthConstructor  )

◆ TEST() [535/710]

blender::tests::TEST ( string_ref ,
Print  )

Definition at line 191 of file BLI_string_ref_test.cc.

References EXPECT_EQ(), and str.

◆ TEST() [536/710]

blender::tests::TEST ( string_ref ,
SpanConstructor  )

Definition at line 166 of file BLI_string_ref_test.cc.

References EXPECT_EQ().

◆ TEST() [537/710]

blender::tests::TEST ( string_ref ,
StartEndConstructor  )

Definition at line 118 of file BLI_string_ref_test.cc.

References EXPECT_EQ(), and blender::StringRefBase::size().

◆ TEST() [538/710]

blender::tests::TEST ( string_ref ,
StartEndConstructorNullptr  )

Definition at line 127 of file BLI_string_ref_test.cc.

References EXPECT_EQ(), and blender::StringRefBase::size().

◆ TEST() [539/710]

blender::tests::TEST ( string_ref ,
StartEndConstructorSame  )

Definition at line 134 of file BLI_string_ref_test.cc.

References EXPECT_EQ(), and blender::StringRefBase::size().

◆ TEST() [540/710]

blender::tests::TEST ( string_ref ,
StartsWith  )

Definition at line 299 of file BLI_string_ref_test.cc.

References blender::StringRefBase::startswith().

◆ TEST() [541/710]

blender::tests::TEST ( string_ref ,
StdStringConstructor  )

◆ TEST() [542/710]

blender::tests::TEST ( string_ref ,
SubscriptOperator  )

Definition at line 172 of file BLI_string_ref_test.cc.

References EXPECT_EQ(), and blender::StringRefBase::size().

◆ TEST() [543/710]

blender::tests::TEST ( string_ref ,
Substr  )

Definition at line 404 of file BLI_string_ref_test.cc.

References EXPECT_EQ(), and blender::StringRefBase::substr().

◆ TEST() [544/710]

blender::tests::TEST ( string_ref ,
ToStdString  )

Definition at line 183 of file BLI_string_ref_test.cc.

References EXPECT_EQ(), and str.

◆ TEST() [545/710]

blender::tests::TEST ( string_ref ,
ToStringView  )

Definition at line 526 of file BLI_string_ref_test.cc.

References EXPECT_EQ(), and view.

◆ TEST() [546/710]

blender::tests::TEST ( string_ref ,
TrimArbitrary  )

Definition at line 366 of file BLI_string_ref_test.cc.

References EXPECT_EQ(), and blender::StringRefBase::trim().

◆ TEST() [547/710]

blender::tests::TEST ( string_ref ,
TrimCharacter  )

Definition at line 393 of file BLI_string_ref_test.cc.

References EXPECT_EQ(), and blender::StringRefBase::trim().

◆ TEST() [548/710]

blender::tests::TEST ( string_ref ,
TrimWhitespace  )

Definition at line 381 of file BLI_string_ref_test.cc.

References EXPECT_EQ(), and blender::StringRefBase::trim().

◆ TEST() [549/710]

blender::tests::TEST ( string_ref_null ,
CompareEqual  )

Definition at line 38 of file BLI_string_ref_test.cc.

◆ TEST() [550/710]

blender::tests::TEST ( string_ref_null ,
CompareEqualCharPtr1  )

Definition at line 49 of file BLI_string_ref_test.cc.

◆ TEST() [551/710]

blender::tests::TEST ( string_ref_null ,
CompareEqualCharPtr2  )

Definition at line 58 of file BLI_string_ref_test.cc.

◆ TEST() [552/710]

blender::tests::TEST ( string_ref_null ,
CompareEqualString1  )

Definition at line 67 of file BLI_string_ref_test.cc.

◆ TEST() [553/710]

blender::tests::TEST ( string_ref_null ,
CompareEqualString2  )

Definition at line 76 of file BLI_string_ref_test.cc.

◆ TEST() [554/710]

blender::tests::TEST ( string_ref_null ,
CompareEqualStringRef1  )

Definition at line 85 of file BLI_string_ref_test.cc.

◆ TEST() [555/710]

blender::tests::TEST ( string_ref_null ,
CompareEqualStringRef2  )

Definition at line 94 of file BLI_string_ref_test.cc.

◆ TEST() [556/710]

blender::tests::TEST ( string_ref_null ,
Constexpr  )

◆ TEST() [557/710]

blender::tests::TEST ( string_ref_null ,
CStringConstructor  )

◆ TEST() [558/710]

blender::tests::TEST ( string_ref_null ,
CStringLengthConstructor  )

◆ TEST() [559/710]

blender::tests::TEST ( string_ref_null ,
DefaultConstructor  )

Definition at line 15 of file BLI_string_ref_test.cc.

References EXPECT_EQ(), and blender::StringRefBase::size().

◆ TEST() [560/710]

◆ TEST() [561/710]

◆ TEST() [562/710]

blender::tests::TEST ( vector ,
AppendAs  )

◆ TEST() [563/710]

blender::tests::TEST ( vector ,
AppendCallsCopyConstructor  )

◆ TEST() [564/710]

blender::tests::TEST ( vector ,
AppendCallsMoveConstructor  )

◆ TEST() [565/710]

◆ TEST() [566/710]

◆ TEST() [567/710]

◆ TEST() [568/710]

◆ TEST() [569/710]

blender::tests::TEST ( vector ,
ConstructVoidPointerVector  )

◆ TEST() [570/710]

blender::tests::TEST ( vector ,
ConvertingConstructor  )

◆ TEST() [571/710]

blender::tests::TEST ( vector ,
CopyAssignment  )

◆ TEST() [572/710]

blender::tests::TEST ( vector ,
CopyConstructor  )

◆ TEST() [573/710]

◆ TEST() [574/710]

◆ TEST() [575/710]

◆ TEST() [576/710]

blender::tests::TEST ( vector ,
DefaultConstructor  )

◆ TEST() [577/710]

◆ TEST() [578/710]

◆ TEST() [579/710]

◆ TEST() [580/710]

blender::tests::TEST ( vector ,
ExtendMoveFromSmallVector  )

◆ TEST() [581/710]

◆ TEST() [582/710]

◆ TEST() [583/710]

blender::tests::TEST ( vector ,
ExtendSmallVector  )

Definition at line 446 of file BLI_vector_test.cc.

References b, and EXPECT_EQ().

◆ TEST() [584/710]

◆ TEST() [585/710]

blender::tests::TEST ( vector ,
FirstIndexOf  )

◆ TEST() [586/710]

blender::tests::TEST ( vector ,
FirstIndexTryOf  )

◆ TEST() [587/710]

◆ TEST() [588/710]

blender::tests::TEST ( vector ,
FromRawEmpty  )

◆ TEST() [589/710]

blender::tests::TEST ( vector ,
InitializerListConstructor  )

◆ TEST() [590/710]

blender::tests::TEST ( vector ,
Insert1Exceptions  )

◆ TEST() [591/710]

◆ TEST() [592/710]

◆ TEST() [593/710]

◆ TEST() [594/710]

◆ TEST() [595/710]

◆ TEST() [596/710]

◆ TEST() [597/710]

◆ TEST() [598/710]

blender::tests::TEST ( vector ,
Iterator  )

Definition at line 305 of file BLI_vector_test.cc.

References EXPECT_EQ(), and i.

◆ TEST() [599/710]

blender::tests::TEST ( vector ,
IteratorConstructor  )

◆ TEST() [600/710]

blender::tests::TEST ( vector ,
LargeVectorCopyCallsCopyConstructor  )

Definition at line 649 of file BLI_vector_test.cc.

◆ TEST() [601/710]

blender::tests::TEST ( vector ,
LargeVectorMoveCallsNoConstructor  )

Definition at line 665 of file BLI_vector_test.cc.

◆ TEST() [602/710]

blender::tests::TEST ( vector ,
Last  )

◆ TEST() [603/710]

blender::tests::TEST ( vector ,
MoveAssignment  )

◆ TEST() [604/710]

blender::tests::TEST ( vector ,
MoveConstructor  )

◆ TEST() [605/710]

blender::tests::TEST ( vector ,
MoveConstructor2  )

◆ TEST() [606/710]

blender::tests::TEST ( vector ,
MoveConstructor3  )

◆ TEST() [607/710]

blender::tests::TEST ( vector ,
MoveConstructor4  )

◆ TEST() [608/710]

blender::tests::TEST ( vector ,
MoveConstructorExceptions  )

Definition at line 833 of file BLI_vector_test.cc.

◆ TEST() [609/710]

◆ TEST() [610/710]

◆ TEST() [611/710]

◆ TEST() [612/710]

◆ TEST() [613/710]

blender::tests::TEST ( vector ,
RecursiveStructure  )

Definition at line 938 of file BLI_vector_test.cc.

References blender::tests::RecursiveType::my_vector.

◆ TEST() [614/710]

◆ TEST() [615/710]

◆ TEST() [616/710]

blender::tests::TEST ( vector ,
ReleaseEmptyInline  )

◆ TEST() [617/710]

◆ TEST() [618/710]

◆ TEST() [619/710]

◆ TEST() [620/710]

◆ TEST() [621/710]

◆ TEST() [622/710]

◆ TEST() [623/710]

◆ TEST() [624/710]

◆ TEST() [625/710]

◆ TEST() [626/710]

◆ TEST() [627/710]

◆ TEST() [628/710]

◆ TEST() [629/710]

blender::tests::TEST ( vector ,
ReturnByValue  )

◆ TEST() [630/710]

◆ TEST() [631/710]

blender::tests::TEST ( vector ,
SizeConstructor  )

◆ TEST() [632/710]

blender::tests::TEST ( vector ,
SizeConstructorCallsDefaultConstructor  )

Definition at line 610 of file BLI_vector_test.cc.

◆ TEST() [633/710]

blender::tests::TEST ( vector ,
SizeValueConstructor  )

◆ TEST() [634/710]

blender::tests::TEST ( vector ,
SizeValueConstructorCallsCopyConstructor  )

Definition at line 618 of file BLI_vector_test.cc.

◆ TEST() [635/710]

blender::tests::TEST ( vector ,
SizeValueConstructorExceptions  )

◆ TEST() [636/710]

blender::tests::TEST ( vector ,
SmallVectorCopyCallsCopyConstructor  )

Definition at line 641 of file BLI_vector_test.cc.

◆ TEST() [637/710]

blender::tests::TEST ( vector ,
SmallVectorMoveCallsMoveConstructor  )

Definition at line 657 of file BLI_vector_test.cc.

◆ TEST() [638/710]

blender::tests::TEST ( vector ,
SpanConstructorExceptions  )

Definition at line 826 of file BLI_vector_test.cc.

◆ TEST() [639/710]

blender::tests::TEST ( vector ,
TrivialTypeSizeConstructor  )

Tests that the trivially constructible types are not zero-initialized. We do not want that for performance reasons.

Definition at line 30 of file BLI_vector_test.cc.

References EXPECT_EQ(), magic(), ptr, and blender::Vector< T, InlineBufferCapacity, Allocator >::~Vector().

◆ TEST() [640/710]

◆ TEST() [641/710]

◆ TEST() [642/710]

◆ TEST() [643/710]

◆ TEST() [644/710]

◆ TEST() [645/710]

◆ TEST() [646/710]

◆ TEST() [647/710]

◆ TEST() [648/710]

◆ TEST() [649/710]

◆ TEST() [650/710]

◆ TEST() [651/710]

blender::tests::TEST ( vector_set ,
CopyConstructorExceptions  )

Definition at line 213 of file BLI_vector_set_test.cc.

◆ TEST() [652/710]

◆ TEST() [653/710]

◆ TEST() [654/710]

◆ TEST() [655/710]

◆ TEST() [656/710]

◆ TEST() [657/710]

◆ TEST() [658/710]

◆ TEST() [659/710]

◆ TEST() [660/710]

blender::tests::TEST ( vector_set ,
Index  )

◆ TEST() [661/710]

blender::tests::TEST ( vector_set ,
IndexOfOrAdd  )

◆ TEST() [662/710]

blender::tests::TEST ( vector_set ,
IndexTry  )

◆ TEST() [663/710]

blender::tests::TEST ( vector_set ,
InitializerListConstructor_WithDuplicates  )

◆ TEST() [664/710]

◆ TEST() [665/710]

◆ TEST() [666/710]

◆ TEST() [667/710]

blender::tests::TEST ( vector_set ,
Move  )

◆ TEST() [668/710]

blender::tests::TEST ( vector_set ,
MoveAssignment  )

◆ TEST() [669/710]

◆ TEST() [670/710]

blender::tests::TEST ( vector_set ,
MoveNonInline  )

◆ TEST() [671/710]

◆ TEST() [672/710]

◆ TEST() [673/710]

◆ TEST() [674/710]

◆ TEST() [675/710]

◆ TEST() [676/710]

blender::tests::TEST ( vector_set ,
SpanConstructorExceptions  )

Definition at line 204 of file BLI_vector_set_test.cc.

◆ TEST() [677/710]

◆ TEST() [678/710]

◆ TEST() [679/710]

blender::tests::TEST ( vectorlist ,
AppendCallsCopyConstructor  )

◆ TEST() [680/710]

blender::tests::TEST ( vectorlist ,
AppendCallsMoveConstructor  )

◆ TEST() [681/710]

◆ TEST() [682/710]

blender::tests::TEST ( vectorlist ,
ConstIterator  )

◆ TEST() [683/710]

blender::tests::TEST ( vectorlist ,
ConstLimitIndexing  )

◆ TEST() [684/710]

blender::tests::TEST ( vectorlist ,
DefaultConstructor  )

◆ TEST() [685/710]

◆ TEST() [686/710]

◆ TEST() [687/710]

blender::tests::TEST ( vectorlist ,
Iterator  )

◆ TEST() [688/710]

blender::tests::TEST ( vectorlist ,
IteratorAfterClear  )

◆ TEST() [689/710]

◆ TEST() [690/710]

blender::tests::TEST ( vectorlist ,
LimitIndexing  )

◆ TEST() [691/710]

blender::tests::TEST ( vectorlist ,
LimitIterator  )

◆ TEST() [692/710]

blender::tests::TEST ( vectorlist ,
MoveConstructor  )

◆ TEST() [693/710]

◆ TEST() [694/710]

blender::tests::TEST ( vectorlist ,
OveralignedValues  )

◆ TEST() [695/710]

blender::tests::TEST ( vectorlist ,
ReturnByValue  )

◆ TEST() [696/710]

◆ TEST() [697/710]

blender::tests::TEST ( virtual_array ,
AsSpan  )

◆ TEST() [698/710]

◆ TEST() [699/710]

blender::tests::TEST ( virtual_array ,
EmptySpanWrapper  )

◆ TEST() [700/710]

blender::tests::TEST ( virtual_array ,
Func  )

◆ TEST() [701/710]

◆ TEST() [702/710]

◆ TEST() [703/710]

blender::tests::TEST ( virtual_array ,
MutableToImmutable  )

◆ TEST() [704/710]

◆ TEST() [705/710]

◆ TEST() [706/710]

blender::tests::TEST ( virtual_array ,
StdArray  )

◆ TEST() [707/710]

blender::tests::TEST ( virtual_array ,
StdVector  )

◆ TEST() [708/710]

blender::tests::TEST ( virtual_array ,
Vector  )

◆ TEST() [709/710]

◆ TEST() [710/710]

blender::tests::TEST ( wm_drag ,
wmDragPath  )

NOTE: WM_drag_create_path_data gets the file_type from the first path in paths and only needs its extension, so there is no need to describe a full path here that can have a different format on Windows or Linux. However callers must ensure that they are valid paths.

Test wmDrag path data getters.

Test wmDrag path data getters.

Test wmDrag path data getters when the drag type is different to WM_DRAG_PATH.

Definition at line 15 of file wm_dragdrop_test.cc.

References blender::Vector< T, InlineBufferCapacity, Allocator >::as_span(), EXPECT_EQ(), FILE_TYPE_ASSET, FILE_TYPE_BLENDER, FILE_TYPE_IMAGE, FILE_TYPE_TEXT, wmDragPath::paths, wmDrag::poin, size(), Vector< T, InlineBufferCapacity, Allocator >::size(), wmDragPath::tooltip, wmDrag::type, WM_DRAG_COLOR, WM_drag_create_path_data(), WM_drag_get_path_file_type(), WM_drag_get_paths(), WM_drag_get_single_path(), WM_drag_has_path_file_type(), and WM_DRAG_PATH.

◆ TEST_F() [1/3]

◆ TEST_F() [2/3]

◆ TEST_F() [3/3]

blender::tests::TEST_F ( FileOpsTest ,
rename  )

◆ test_ref_from_initializer_list()

void blender::tests::test_ref_from_initializer_list ( Span< int > span)
static

Definition at line 194 of file BLI_span_test.cc.

References EXPECT_EQ(), and blender::Span< T >::size().

Referenced by TEST().

◆ transform_normals_test()

Variable Documentation

◆ copy_assigned_from_value

const int blender::tests::copy_assigned_from_value = 7
static

Definition at line 18 of file BLI_cpp_type_test.cc.

Referenced by blender::tests::TestType::operator=(), TEST(), and TEST().

◆ copy_assigned_value

const int blender::tests::copy_assigned_value = 6
static

Definition at line 17 of file BLI_cpp_type_test.cc.

Referenced by blender::tests::TestType::operator=(), TEST(), and TEST().

◆ copy_constructed_from_value

const int blender::tests::copy_constructed_from_value = 4
static

Definition at line 15 of file BLI_cpp_type_test.cc.

Referenced by TEST(), TEST(), and blender::tests::TestType::TestType().

◆ copy_constructed_value

const int blender::tests::copy_constructed_value = 2
static

Definition at line 13 of file BLI_cpp_type_test.cc.

Referenced by TEST(), TEST(), and blender::tests::TestType::TestType().

◆ CPPType_TestType

const CPPType& blender::tests::CPPType_TestType = CPPType::get<TestType>()
static

Definition at line 85 of file BLI_cpp_type_test.cc.

Referenced by TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), and TEST().

◆ default_constructed_value

const int blender::tests::default_constructed_value = 1
static

Definition at line 12 of file BLI_cpp_type_test.cc.

Referenced by TEST(), TEST(), and blender::tests::TestType::TestType().

◆ destructed_value

const int blender::tests::destructed_value = 10
static

Definition at line 21 of file BLI_cpp_type_test.cc.

Referenced by TEST(), TEST(), TEST(), and blender::tests::TestType::~TestType().

◆ move_assigned_from_value

const int blender::tests::move_assigned_from_value = 9
static

Definition at line 20 of file BLI_cpp_type_test.cc.

Referenced by blender::tests::TestType::operator=().

◆ move_assigned_value

const int blender::tests::move_assigned_value = 8
static

Definition at line 19 of file BLI_cpp_type_test.cc.

Referenced by blender::tests::TestType::operator=(), and TEST().

◆ move_constructed_from_value

const int blender::tests::move_constructed_from_value = 5
static

Definition at line 16 of file BLI_cpp_type_test.cc.

Referenced by blender::tests::TestType::TestType().

◆ move_constructed_value

const int blender::tests::move_constructed_value = 3
static

Definition at line 14 of file BLI_cpp_type_test.cc.

Referenced by TEST(), and blender::tests::TestType::TestType().