Blender V5.3
blender::tests Namespace Reference

Classes

class  AnyVirtualTestBase
class  AnyVirtualTestTimes10
class  BlfDimensionsTest
class  BlfLoadTest
class  BlfMetricsTest
class  BlfWrappingMinimalTest
class  BlfWrappingPathTest
class  BlfWrappingTypographicalTest
class  ChangeWorkingDirectoryTest
struct  ConstructibleType
class  CPPTypeTest
struct  EqualityIntModN
class  ExceptionThrower
struct  ExtraSizeInfo
class  FileOpsTest
class  GenericArrayTest
class  GenericSpanTest
class  GenericVectorArrayTest
struct  HashIntModN
class  ImplicitlySharedData
struct  IntKeyModEq
struct  IntKeyModHash
struct  IntMapKey
struct  IntMapKeyEq
struct  IntMapKeyHash
struct  MyKeyType
class  RNAPathTest
class  SharedDataContainer
class  TestBaseClass
class  TestChildClass
struct  TestType
struct  Type1
struct  Type2
class  VirtualArrayTest

Typedefs

using Nearest = KDTreeNew<float3>::Nearest

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_F (BlfLoadTest, load)
 TEST_F (BlfLoadTest, font_is_loaded_path)
 TEST_F (BlfLoadTest, font_is_loaded_id)
 TEST_F (BlfLoadTest, display_name_from_file)
 TEST_F (BlfLoadTest, display_name_from_id)
 TEST_F (BlfLoadTest, has_glyph)
 TEST_F (BlfMetricsTest, get_vfont_metrics)
 TEST_F (BlfMetricsTest, default_weight)
 TEST_F (BlfMetricsTest, has_variable_weight)
 TEST_F (BlfMetricsTest, variable_weight)
 TEST_F (BlfDimensionsTest, width_max)
 TEST_F (BlfDimensionsTest, height_max)
 TEST_F (BlfDimensionsTest, descender)
 TEST_F (BlfDimensionsTest, ascender)
 TEST_F (BlfDimensionsTest, fixed_width)
 TEST_F (BlfDimensionsTest, width_em)
 TEST_F (BlfDimensionsTest, height_em)
 TEST_F (BlfDimensionsTest, advance)
 TEST_F (BlfWrappingMinimalTest, wrap_overflow_ascii)
 TEST_F (BlfWrappingMinimalTest, wrap_space)
 TEST_F (BlfWrappingMinimalTest, wrap_linefeed)
 TEST_F (BlfWrappingMinimalTest, wrap_hardlimit)
 TEST_F (BlfWrappingPathTest, wrap_path_overflow_ascii)
 TEST_F (BlfWrappingPathTest, wrap_path_space)
 TEST_F (BlfWrappingPathTest, wrap_path_separators_underscore)
 TEST_F (BlfWrappingPathTest, wrap_path_separators_slash)
 TEST_F (BlfWrappingPathTest, wrap_path_hardlimit)
 TEST_F (BlfWrappingTypographicalTest, wrap_typographical_thinspace)
 TEST_F (BlfWrappingTypographicalTest, wrap_typographical_backslash)
 TEST_F (BlfWrappingTypographicalTest, wrap_typographical_underscore)
 TEST_F (BlfWrappingTypographicalTest, wrap_typographical_forward_slash)
 TEST_F (BlfWrappingTypographicalTest, wrap_typographical_dash)
 TEST_F (BlfWrappingTypographicalTest, wrap_typographical_CJK)
 TEST_F (BlfWrappingTypographicalTest, wrap_typographical_Tibetan)
 TEST_F (BlfWrappingTypographicalTest, wrap_typographical_hardlimit)
 TEST_F (BlfWrappingMinimalTest, wrap_hardlimit_too_narrow_width)
 TEST (any_virtual, DefaultConstructor)
 TEST (any_virtual, Emplace)
 TEST (any_virtual, Subclass)
 TEST (any_virtual, Const)
 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, FillConstructorZero)
 TEST (array, FillConstructorZeroAligned)
 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 (array, ConstructStructWithBitFields)
 TEST (array, ConstructZeroVector)
 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 (bounds, Contains)
 TEST (bounds, IntersectSegment1D)
 TEST (bounds, IntersectSegment2D)
 TEST (bounds, IntersectSegment3D)
 TEST (BLI_build_config, Basic)
 TEST (BLI_build_config, Endian)
 TEST_F (CPPTypeTest, Size)
 TEST_F (CPPTypeTest, Alignment)
 TEST_F (CPPTypeTest, Is)
 TEST_F (CPPTypeTest, DefaultConstruction)
 TEST_F (CPPTypeTest, DefaultConstructTrivial)
 TEST_F (CPPTypeTest, ValueInitialize)
 TEST_F (CPPTypeTest, ValueInitializeTrivial)
 TEST_F (CPPTypeTest, Destruct)
 TEST_F (CPPTypeTest, CopyToUninitialized)
 TEST_F (CPPTypeTest, CopyToInitialized)
 TEST_F (CPPTypeTest, RelocateToUninitialized)
 TEST_F (CPPTypeTest, RelocateToInitialized)
 TEST_F (CPPTypeTest, FillInitialized)
 TEST_F (CPPTypeTest, FillUninitialized)
 TEST_F (CPPTypeTest, DebugPrint)
 TEST_F (CPPTypeTest, ToStaticType)
 TEST_F (CPPTypeTest, 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_F (GenericArrayTest, TypeConstructor)
 TEST_F (GenericArrayTest, MoveConstructor)
 TEST_F (GenericArrayTest, CopyConstructor)
 TEST_F (GenericArrayTest, BufferAndSizeConstructor)
 TEST_F (GenericArrayTest, Reinitialize)
 TEST_F (GenericArrayTest, InContainer)
 TEST_F (GenericArrayTest, ReinitEmpty)
 TEST_F (GenericArrayTest, AssignDefault)
 TEST_F (GenericArrayTest, DefaultConstructor)
 TEST_F (GenericSpanTest, TypeConstructor)
 TEST_F (GenericSpanTest, BufferAndSizeConstructor)
 TEST_F (GenericSpanTest, MutableTypeConstructor)
 TEST_F (GenericSpanTest, MutableBufferAndSizeConstructor)
 TEST_F (GenericVectorArrayTest, Construct)
 TEST_F (GenericVectorArrayTest, Append)
 TEST_F (GenericVectorArrayTest, 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 Array< float3 > random_points (const int points_num, const int seed=0)
static Vector< Nearest > brute_force_sorted (const Span< float3 > positions, const Span< int > indices, const float3 &position)
static Array< float3 > grid_points (const int side)
static Vector< int > all_indices (const int points_num)
 TEST (kdtree, Empty)
 TEST (kdtree, SinglePoint)
 TEST (kdtree, FindNearest)
 TEST (kdtree, FindNearestFiltered)
 TEST (kdtree, FindNearestN)
 TEST (kdtree, FindNearestNMoreThanSize)
 TEST (kdtree, Radius)
 TEST (kdtree, RadiusIsInclusive)
 TEST (kdtree, FindNearestWithEqualDistances)
 TEST (kdtree, MaskedBuild)
 TEST (kdtree, MaskedBuildFullRange)
 TEST (kdtree, EmptyMask)
 TEST (kdtree, DuplicatePoints)
static void check_duplicates (const Span< float3 > positions, const Span< int > indices, const float range, const Span< int > duplicates, const int found, const bool pairwise=true)
 TEST (kdtree, CalcDuplicates)
 TEST (kdtree, CalcDuplicatesWithDuplicatePoints)
 TEST (kdtree, CalcDuplicatesExactRange)
 TEST (kdtree, CalcDuplicatesMasked)
 TEST (kdtree, CalcDuplicatesPresetTargets)
 TEST (kdtree, CalcDuplicatesIndexOrder)
 TEST (kdtree, CalcDuplicatesIndexOrderMasked)
 TEST (kdtree, ThreadedBuild)
 TEST (kdtree, Float2)
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 (map, PointerKeyCustomEq)
 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, half_to_float_array_flush_to_zero)
 TEST (math_half, float_to_half_array)
 TEST (math_half, float_to_half_clamp_array)
 TEST (math_half, float_to_half_make_finite_array)
 TEST (math_matrix, interp_m4_m4m4_regular)
 TEST (math_matrix, interp_m3_m3m3_singularity)
 TEST (math_matrix, mul_m3_series)
 TEST (math_matrix, mul_m4_series)
 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, log)
 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 (math_vec_types, SwizzleFloat2)
 TEST (math_vec_types, SwizzleFloat3)
 TEST (math_vec_types, SwizzleFloat4)
 TEST (math_vec_types, SwizzleAssignment)
 TEST (math_vec_types, SwizzleOperators)
 TEST (math_vec_types, SwizzleComparison)
 BLI_STATIC_ASSERT (std::is_trivially_constructible_v< float3 >, "")
 BLI_STATIC_ASSERT (std::is_trivially_copy_constructible_v< float3 >, "")
 BLI_STATIC_ASSERT (std::is_trivially_move_constructible_v< float3 >, "")
 BLI_STATIC_ASSERT (std::is_trivial_v< float3 >, "")
 BLI_STATIC_ASSERT (sizeof(float3)==3 *sizeof(float), "")
 BLI_STATIC_ASSERT (sizeof(float3().x)==1 *sizeof(float), "")
 BLI_STATIC_ASSERT (sizeof(float3().xxxx)==1 *sizeof(float), "")
 BLI_STATIC_ASSERT (sizeof(float3().xy)==2 *sizeof(float), "")
 BLI_STATIC_ASSERT (sizeof(float3().xyxy)==2 *sizeof(float), "")
 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 (multi_value_map, MutableItems)
 TEST (normalized_int, roundtrip)
 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)
 TEST (set, AddRemoveSameHash)
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, IntrusiveIntKeyCustomEq)
 TEST (set, LookupKey)
 TEST (set, LookupKeyDefault)
 TEST (set, LookupKeyPtr)
 TEST (set, LookupKeyOrAdd)
 TEST (set, LookupKeyOrAddCb)
 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, TrimLeftArbitrary)
 TEST (string_ref, TrimLeftWhitespace)
 TEST (string_ref, TrimRightArbitrary)
 TEST (string_ref, TrimRightWhitespace)
 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 (ustring, MapUString)
 TEST (ustring, MapStringRef)
 TEST (ustring, MapStdString)
 TEST (ustring, Equality)
 TEST (ustring, UniqueCorrectness)
 TEST (ustring, Empty)
 TEST (ustring, LongString)
 TEST (ustring, LiteralOperator)
 TEST (ustring, Hashing)
 TEST (ustring, Concurrency)
 TEST (ustring, ConcurrentSameNewString)
 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 (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, OrderPreservation)
 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_F (VirtualArrayTest, Span)
 TEST_F (VirtualArrayTest, Single)
 TEST_F (VirtualArrayTest, Array)
 TEST_F (VirtualArrayTest, MutableArray)
 TEST_F (VirtualArrayTest, Vector)
 TEST_F (VirtualArrayTest, StdVector)
 TEST_F (VirtualArrayTest, StdArray)
 TEST_F (VirtualArrayTest, VectorSet)
 TEST_F (VirtualArrayTest, Func)
 TEST_F (VirtualArrayTest, AsSpan)
static int get_x (const std::array< int, 3 > &item)
static void set_x (std::array< int, 3 > &item, int value)
 TEST_F (VirtualArrayTest, DerivedSpan)
 TEST_F (VirtualArrayTest, MutableToImmutable)
 TEST_F (VirtualArrayTest, MaterializeCompressed)
 TEST_F (VirtualArrayTest, EmptySpanWrapper)
 TEST_F (VirtualArrayTest, SingleValueRangeSpans)
 TEST_F (VirtualArrayTest, SpanRangeSpans)
 TEST_F (VirtualArrayTest, ArrayRangeSpans)
 TEST_F (VirtualArrayTest, FunctionRangeSpans)
 TEST (generic_virtual_array, FromFunc)
static void expect_member_item (const rna_path::Item &item, const StringRef expected)
static void expect_lookup_index_item (const rna_path::Item &item, const int64_t expected)
static void expect_lookup_key_item (const rna_path::Item &item, const StringRef expected)
 TEST (parse_rna_path, empty)
 TEST (parse_rna_path, just_member)
 TEST (parse_rna_path, just_index)
 TEST (parse_rna_path, just_key)
 TEST (parse_rna_path, multi)
 TEST_F (RNAPathTest, RNA_generate_keys_for_path_rename)
 TEST_F (RNAPathTest, RNA_path_name_to_infix)
 TEST_F (RNAPathTest, RNA_path_number_to_infix)
 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

Typedef Documentation

◆ Nearest

Definition at line 22 of file BLI_kdtree_test.cc.

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 add_two_numbers(), and b.

Referenced by add_two_numbers(), and TEST().

◆ all_indices()

Vector< int > blender::tests::all_indices ( const int points_num)
static

◆ BLI_STATIC_ASSERT() [1/9]

blender::tests::BLI_STATIC_ASSERT ( sizeof(float3().x) = =1 *sizeof(float),
""  )

References BLI_STATIC_ASSERT(), and blender::x.

◆ BLI_STATIC_ASSERT() [2/9]

blender::tests::BLI_STATIC_ASSERT ( sizeof(float3().xxxx) = =1 *sizeof(float),
""  )

References BLI_STATIC_ASSERT().

◆ BLI_STATIC_ASSERT() [3/9]

blender::tests::BLI_STATIC_ASSERT ( sizeof(float3().xy) = =2 *sizeof(float),
""  )

References BLI_STATIC_ASSERT().

◆ BLI_STATIC_ASSERT() [4/9]

blender::tests::BLI_STATIC_ASSERT ( sizeof(float3().xyxy) = =2 *sizeof(float),
""  )

References BLI_STATIC_ASSERT().

◆ BLI_STATIC_ASSERT() [5/9]

blender::tests::BLI_STATIC_ASSERT ( sizeof(float3) = =3 *sizeof(float),
""  )

References BLI_STATIC_ASSERT().

◆ BLI_STATIC_ASSERT() [6/9]

blender::tests::BLI_STATIC_ASSERT ( std::is_trivial_v< float3 > ,
""  )

References BLI_STATIC_ASSERT().

◆ BLI_STATIC_ASSERT() [7/9]

◆ BLI_STATIC_ASSERT() [8/9]

blender::tests::BLI_STATIC_ASSERT ( std::is_trivially_copy_constructible_v< float3 > ,
""  )

References BLI_STATIC_ASSERT().

◆ BLI_STATIC_ASSERT() [9/9]

blender::tests::BLI_STATIC_ASSERT ( std::is_trivially_move_constructible_v< float3 > ,
""  )

References BLI_STATIC_ASSERT().

◆ brute_force_sorted()

Vector< Nearest > blender::tests::brute_force_sorted ( const Span< float3 > positions,
const Span< int > indices,
const float3 & position )
static

◆ check_duplicates()

void blender::tests::check_duplicates ( const Span< float3 > positions,
const Span< int > indices,
const float range,
const Span< int > duplicates,
const int found,
const bool pairwise = true )
static

Which point of a cluster the others merge into depends on the order the tree happens to store its points in, which is not defined. These are the properties that hold whatever that order is.

Parameters
indicesThe points in the tree.
pairwiseAlso check that no two points in range were both left unmerged, which is quadratic and so only worth doing for small point counts.

Definition at line 354 of file BLI_kdtree_test.cc.

References check_duplicates(), blender::math::distance_squared(), blender::EXPECT_EQ(), EXPECT_GT, and EXPECT_LE.

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

◆ close_font()

◆ expect_lookup_index_item()

void blender::tests::expect_lookup_index_item ( const rna_path::Item & item,
const int64_t expected )
static

Definition at line 20 of file rna_path_test.cc.

References blender::EXPECT_EQ(), expect_lookup_index_item(), and EXPECT_TRUE.

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

◆ expect_lookup_key_item()

void blender::tests::expect_lookup_key_item ( const rna_path::Item & item,
const StringRef expected )
static

Definition at line 27 of file rna_path_test.cc.

References blender::EXPECT_EQ(), expect_lookup_key_item(), and EXPECT_TRUE.

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

◆ expect_member_item()

void blender::tests::expect_member_item ( const rna_path::Item & item,
const StringRef expected )
static

Definition at line 13 of file rna_path_test.cc.

References blender::EXPECT_EQ(), expect_member_item(), and EXPECT_TRUE.

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

◆ font_path()

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

Definition at line 15 of file BLF_tests.cc.

References BLI_path_join, FILE_MAX, and font_path().

Referenced by font_path(), open_font(), TEST_F(), and TEST_F().

◆ get_x()

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

Definition at line 155 of file BLI_virtual_array_test.cc.

References get_x().

Referenced by get_x(), and TEST_F().

◆ grid_points()

Array< float3 > blender::tests::grid_points ( const int side)
static

A grid of unit spaced points, so that distances land exactly on whole numbers.

Definition at line 50 of file BLI_kdtree_test.cc.

References grid_points(), blender::IndexRange::IndexRange(), blender::x, y, and z().

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

◆ is_aligned()

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

◆ open_font()

◆ operator==() [1/2]

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

Definition at line 305 of file BLI_set_test.cc.

References b, operator==(), and blender::tests::Type1::value.

Referenced by operator==(), and operator==().

◆ operator==() [2/2]

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

Definition at line 309 of file BLI_set_test.cc.

References b, operator==(), 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.

References overload_test().

◆ 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.

References overload_test().

Referenced by overload_test(), overload_test(), and 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, and perform_binary_operation().

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

◆ random_points()

Array< float3 > blender::tests::random_points ( const int points_num,
const int seed = 0 )
static

◆ return_42()

float blender::tests::return_42 ( )
static

Definition at line 307 of file BLI_map_test.cc.

References return_42().

Referenced by return_42(), and TEST().

◆ set_x()

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

Definition at line 160 of file BLI_virtual_array_test.cc.

References set_x().

Referenced by set_x(), and TEST_F().

◆ TEST() [1/603]

◆ TEST() [2/603]

◆ TEST() [3/603]

◆ TEST() [4/603]

◆ TEST() [5/603]

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

◆ TEST() [6/603]

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

Definition at line 110 of file BLI_any_test.cc.

References any(), blender::EXPECT_EQ(), and TEST().

◆ TEST() [7/603]

blender::tests::TEST ( any_virtual ,
Const  )

◆ TEST() [8/603]

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

Definition at line 41 of file BLI_any_derived_test.cc.

References EXPECT_FALSE, and TEST().

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

◆ TEST() [9/603]

blender::tests::TEST ( any_virtual ,
Emplace  )

◆ TEST() [10/603]

blender::tests::TEST ( any_virtual ,
Subclass  )

◆ TEST() [11/603]

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

Definition at line 285 of file BLI_array_test.cc.

References array< T, alignment >::array(), b, blender::EXPECT_EQ(), and TEST().

◆ TEST() [12/603]

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

Definition at line 310 of file BLI_array_test.cc.

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

◆ TEST() [13/603]

◆ TEST() [14/603]

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

Definition at line 244 of file BLI_array_test.cc.

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

◆ TEST() [15/603]

◆ TEST() [16/603]

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

◆ TEST() [17/603]

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

◆ TEST() [18/603]

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

◆ TEST() [19/603]

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

◆ TEST() [20/603]

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

◆ TEST() [21/603]

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

Definition at line 66 of file BLI_array_test.cc.

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

◆ TEST() [22/603]

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

Definition at line 260 of file BLI_array_test.cc.

References blender::EXPECT_EQ(), and TEST().

◆ TEST() [23/603]

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

◆ TEST() [24/603]

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

Definition at line 252 of file BLI_array_test.cc.

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

◆ TEST() [25/603]

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

◆ TEST() [26/603]

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

Definition at line 237 of file BLI_array_test.cc.

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

◆ TEST() [27/603]

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

◆ TEST() [28/603]

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

Definition at line 271 of file BLI_array_test.cc.

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

◆ TEST() [29/603]

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

◆ TEST() [30/603]

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

◆ TEST() [31/603]

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

◆ TEST() [32/603]

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

◆ TEST() [33/603]

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

Definition at line 222 of file BLI_array_test.cc.

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

◆ TEST() [34/603]

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 146 of file BLI_array_test.cc.

References blender::Array< T, InlineBufferCapacity, Allocator >::Array(), array< T, alignment >::data(), blender::EXPECT_EQ(), and TEST().

◆ TEST() [35/603]

◆ TEST() [36/603]

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

◆ TEST() [37/603]

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

◆ TEST() [38/603]

◆ TEST() [39/603]

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, EXPECT_FALSE, and TEST().

◆ TEST() [40/603]

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

◆ TEST() [41/603]

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

◆ TEST() [42/603]

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

◆ TEST() [43/603]

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

◆ TEST() [44/603]

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

Definition at line 19 of file BLI_build_config_test.cc.

References ARCH_CPU_BIG_ENDIAN, ARCH_CPU_LITTLE_ENDIAN, and TEST().

◆ TEST() [45/603]

◆ TEST() [46/603]

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

Definition at line 11 of file BLI_utildefines_test.cc.

References blender::ARRAY_SIZE(), and TEST().

◆ TEST() [47/603]

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

Definition at line 24 of file BLI_utildefines_test.cc.

References blender::BOUNDED_ARRAY_TYPE_SIZE(), and TEST().

◆ TEST() [48/603]

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

Definition at line 77 of file BLI_uuid_test.cc.

References EXPECT_LT, and TEST().

◆ TEST() [49/603]

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

Definition at line 66 of file BLI_uuid_test.cc.

References EXPECT_LT, and TEST().

◆ TEST() [50/603]

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

◆ TEST() [51/603]

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

◆ TEST() [52/603]

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

◆ TEST() [53/603]

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

◆ TEST() [54/603]

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

Definition at line 158 of file BLI_uuid_test.cc.

References blender::EXPECT_EQ(), and TEST().

◆ TEST() [55/603]

◆ TEST() [56/603]

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

◆ TEST() [57/603]

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

Definition at line 149 of file BLI_uuid_test.cc.

References blender::BLI_uuid_parse_string(), EXPECT_FALSE, and TEST().

◆ TEST() [58/603]

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

◆ TEST() [59/603]

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

Definition at line 34 of file BLI_bounds_test.cc.

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

◆ TEST() [60/603]

◆ TEST() [61/603]

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

Definition at line 14 of file BLI_bounds_test.cc.

References EXPECT_FALSE, EXPECT_TRUE, blender::Bounds< T >::is_empty(), and TEST().

◆ TEST() [62/603]

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

Definition at line 24 of file BLI_bounds_test.cc.

References EXPECT_FALSE, EXPECT_TRUE, blender::Bounds< T >::is_empty(), and TEST().

◆ TEST() [63/603]

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

◆ TEST() [64/603]

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

◆ TEST() [65/603]

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

◆ TEST() [66/603]

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

◆ TEST() [67/603]

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

◆ TEST() [68/603]

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

◆ TEST() [69/603]

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

◆ TEST() [70/603]

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

◆ TEST() [71/603]

◆ TEST() [72/603]

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

◆ TEST() [73/603]

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

◆ TEST() [74/603]

◆ TEST() [75/603]

◆ TEST() [76/603]

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

Definition at line 46 of file BLI_bounds_test.cc.

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

◆ TEST() [77/603]

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

◆ TEST() [78/603]

◆ TEST() [79/603]

◆ TEST() [80/603]

◆ TEST() [81/603]

◆ TEST() [82/603]

◆ TEST() [83/603]

◆ TEST() [84/603]

◆ TEST() [85/603]

◆ TEST() [86/603]

◆ TEST() [87/603]

◆ TEST() [88/603]

◆ TEST() [89/603]

◆ TEST() [90/603]

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

Definition at line 197 of file BLI_fileops_test.cc.

References blender::gpu::shader::metadata::in, and TEST().

◆ TEST() [91/603]

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

Definition at line 182 of file BLI_fileops_test.cc.

References blender::gpu::shader::metadata::in, and TEST().

◆ TEST() [92/603]

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

Definition at line 41 of file BLI_function_ref_test.cc.

References blender::EXPECT_EQ(), and TEST().

◆ TEST() [93/603]

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

Definition at line 71 of file BLI_function_ref_test.cc.

References blender::EXPECT_EQ(), TEST(), blender::x, and y.

◆ TEST() [94/603]

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

Definition at line 81 of file BLI_function_ref_test.cc.

References blender::EXPECT_EQ(), TEST(), blender::x, y, and z().

◆ TEST() [95/603]

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

Definition at line 144 of file BLI_function_ref_test.cc.

References EXPECT_FALSE, EXPECT_TRUE, and TEST().

◆ TEST() [96/603]

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

Definition at line 129 of file BLI_function_ref_test.cc.

References EXPECT_FALSE, EXPECT_TRUE, and TEST().

◆ TEST() [97/603]

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

Definition at line 104 of file BLI_function_ref_test.cc.

References EXPECT_FALSE, and TEST().

◆ TEST() [98/603]

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

Definition at line 48 of file BLI_function_ref_test.cc.

References blender::EXPECT_EQ(), and TEST().

◆ TEST() [99/603]

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

Definition at line 58 of file BLI_function_ref_test.cc.

References EXPECT_FALSE, EXPECT_TRUE, and TEST().

◆ TEST() [100/603]

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

Definition at line 120 of file BLI_function_ref_test.cc.

References blender::EXPECT_EQ(), overload_test(), and TEST().

◆ TEST() [101/603]

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

Definition at line 92 of file BLI_function_ref_test.cc.

References blender::EXPECT_EQ(), TEST(), blender::x, and y.

◆ TEST() [102/603]

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

◆ TEST() [103/603]

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

◆ TEST() [104/603]

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

◆ TEST() [105/603]

blender::tests::TEST ( generic_virtual_array ,
FromFunc  )

◆ TEST() [106/603]

◆ TEST() [107/603]

◆ TEST() [108/603]

◆ TEST() [109/603]

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

◆ TEST() [110/603]

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

◆ TEST() [111/603]

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

◆ TEST() [112/603]

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

◆ TEST() [113/603]

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

Definition at line 14 of file BLI_index_range_test.cc.

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

◆ TEST() [114/603]

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

◆ TEST() [115/603]

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

◆ TEST() [116/603]

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

◆ TEST() [117/603]

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

◆ TEST() [118/603]

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

◆ TEST() [119/603]

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

◆ TEST() [120/603]

◆ TEST() [121/603]

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

◆ TEST() [122/603]

◆ TEST() [123/603]

◆ TEST() [124/603]

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

◆ TEST() [125/603]

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

◆ TEST() [126/603]

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

◆ TEST() [127/603]

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

◆ TEST() [128/603]

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

◆ TEST() [129/603]

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

◆ TEST() [130/603]

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

◆ TEST() [131/603]

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

◆ TEST() [132/603]

◆ TEST() [133/603]

◆ TEST() [134/603]

◆ TEST() [135/603]

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

◆ TEST() [136/603]

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

Definition at line 137 of file BLI_index_range_test.cc.

References blender::EXPECT_EQ(), and TEST().

◆ TEST() [137/603]

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

◆ TEST() [138/603]

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

◆ TEST() [139/603]

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

◆ TEST() [140/603]

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

◆ TEST() [141/603]

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

◆ TEST() [142/603]

◆ TEST() [143/603]

◆ TEST() [144/603]

◆ TEST() [145/603]

◆ TEST() [146/603]

◆ TEST() [147/603]

◆ TEST() [148/603]

◆ TEST() [149/603]

◆ TEST() [150/603]

◆ TEST() [151/603]

blender::tests::TEST ( kdtree ,
CalcDuplicates  )

◆ TEST() [152/603]

◆ TEST() [153/603]

blender::tests::TEST ( kdtree ,
CalcDuplicatesIndexOrder  )

Visiting the points in index order keeps the tree's layout out of the result: the target of every cluster is its lowest index, and the same points built into a different tree cluster the same way.

Definition at line 518 of file BLI_kdtree_test.cc.

References all_indices(), blender::Vector< T, InlineBufferCapacity, Allocator >::as_span(), blender::kdtree::calc_duplicates(), check_duplicates(), blender::EXPECT_EQ(), EXPECT_GE, blender::IndexMask::from_indices(), blender::Array< T, InlineBufferCapacity, Allocator >::index_range(), random_points(), blender::Array< T, InlineBufferCapacity, Allocator >::size(), and TEST().

◆ TEST() [154/603]

◆ TEST() [155/603]

◆ TEST() [156/603]

◆ TEST() [157/603]

◆ TEST() [158/603]

◆ TEST() [159/603]

◆ TEST() [160/603]

◆ TEST() [161/603]

◆ TEST() [162/603]

◆ TEST() [163/603]

◆ TEST() [164/603]

blender::tests::TEST ( kdtree ,
FindNearestNMoreThanSize  )

◆ TEST() [165/603]

blender::tests::TEST ( kdtree ,
FindNearestWithEqualDistances  )

◆ TEST() [166/603]

blender::tests::TEST ( kdtree ,
Float2  )

◆ TEST() [167/603]

◆ TEST() [168/603]

◆ TEST() [169/603]

◆ TEST() [170/603]

◆ TEST() [171/603]

◆ TEST() [172/603]

blender::tests::TEST ( kdtree ,
ThreadedBuild  )

Trees past a certain size are built with several threads, which has to give exactly the same tree as building it on one. Compares against a brute force search over the same points, and against the same points built with several thread counts.

#calc_duplicates walks the points in the order the tree stores them, so its result is the sharpest check available that the trees are identical rather than merely equivalent.

Definition at line 599 of file BLI_kdtree_test.cc.

References all_indices(), blender::BLI_system_num_threads_override_set(), blender::BLI_task_scheduler_exit(), blender::BLI_task_scheduler_init(), blender::kdtree::calc_duplicates(), check_duplicates(), blender::math::distance_squared(), blender::EXPECT_EQ(), EXPECT_GT, blender::KDTreeNew< T >::find_nearest(), FLT_MAX, blender::Array< T, InlineBufferCapacity, Allocator >::index_range(), random_points(), blender::Array< T, InlineBufferCapacity, Allocator >::size(), blender::KDTreeNew< T >::size(), and TEST().

◆ TEST() [173/603]

◆ TEST() [174/603]

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

◆ TEST() [175/603]

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

◆ TEST() [176/603]

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

◆ TEST() [177/603]

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

◆ TEST() [178/603]

◆ TEST() [179/603]

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

◆ TEST() [180/603]

◆ TEST() [181/603]

◆ TEST() [182/603]

◆ TEST() [183/603]

◆ TEST() [184/603]

◆ TEST() [185/603]

◆ TEST() [186/603]

◆ TEST() [187/603]

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

◆ TEST() [188/603]

◆ TEST() [189/603]

◆ TEST() [190/603]

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

◆ TEST() [191/603]

◆ TEST() [192/603]

◆ TEST() [193/603]

◆ TEST() [194/603]

◆ TEST() [195/603]

◆ TEST() [196/603]

◆ TEST() [197/603]

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

◆ TEST() [198/603]

◆ TEST() [199/603]

◆ TEST() [200/603]

◆ TEST() [201/603]

◆ TEST() [202/603]

◆ TEST() [203/603]

◆ TEST() [204/603]

◆ TEST() [205/603]

◆ TEST() [206/603]

◆ TEST() [207/603]

◆ TEST() [208/603]

◆ TEST() [209/603]

◆ TEST() [210/603]

◆ TEST() [211/603]

◆ TEST() [212/603]

◆ TEST() [213/603]

◆ TEST() [214/603]

◆ TEST() [215/603]

◆ TEST() [216/603]

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

◆ TEST() [217/603]

◆ TEST() [218/603]

◆ TEST() [219/603]

◆ TEST() [220/603]

◆ TEST() [221/603]

◆ TEST() [222/603]

◆ TEST() [223/603]

◆ TEST() [224/603]

◆ TEST() [225/603]

◆ TEST() [226/603]

◆ TEST() [227/603]

◆ TEST() [228/603]

◆ TEST() [229/603]

◆ TEST() [230/603]

◆ TEST() [231/603]

◆ TEST() [232/603]

◆ TEST() [233/603]

◆ TEST() [234/603]

◆ TEST() [235/603]

◆ TEST() [236/603]

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

◆ TEST() [237/603]

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

Definition at line 171 of file BLI_math_base_test.cc.

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

◆ TEST() [238/603]

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

◆ TEST() [239/603]

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

Definition at line 17 of file BLI_math_base_test.cc.

References EXPECT_TRUE, and TEST().

◆ TEST() [240/603]

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

◆ TEST() [241/603]

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

Definition at line 201 of file BLI_math_base_test.cc.

References blender::floored_fmod(), and TEST().

◆ TEST() [242/603]

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

◆ TEST() [243/603]

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

Definition at line 196 of file BLI_math_base_test.cc.

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

◆ TEST() [244/603]

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

Definition at line 133 of file BLI_math_base_test.cc.

References blender::EXPECT_EQ(), blender::log2_ceil_u(), and TEST().

◆ TEST() [245/603]

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

Definition at line 118 of file BLI_math_base_test.cc.

References blender::EXPECT_EQ(), blender::log2_floor_u(), and TEST().

◆ TEST() [246/603]

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

Definition at line 191 of file BLI_math_base_test.cc.

References EXPECT_NEAR, blender::math::midpoint(), and TEST().

◆ TEST() [247/603]

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

Definition at line 166 of file BLI_math_base_test.cc.

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

◆ TEST() [248/603]

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

◆ TEST() [249/603]

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

Definition at line 186 of file BLI_math_base_test.cc.

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

◆ TEST() [250/603]

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

Definition at line 181 of file BLI_math_base_test.cc.

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

◆ TEST() [251/603]

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

Definition at line 176 of file BLI_math_base_test.cc.

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

◆ TEST() [252/603]

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

Definition at line 95 of file BLI_math_base_test.cc.

References blender::EXPECT_EQ(), TEST(), and blender::ulp_diff_ff().

◆ TEST() [253/603]

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

Definition at line 180 of file BLI_math_half_test.cc.

References exp, blender::math::float_to_half_array(), and TEST().

◆ TEST() [254/603]

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

Definition at line 205 of file BLI_math_half_test.cc.

References exp, blender::math::float_to_half_clamp_array(), and TEST().

◆ TEST() [255/603]

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

◆ TEST() [256/603]

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

Definition at line 82 of file BLI_math_half_test.cc.

References blender::EXPECT_EQ(), HFUN, and TEST().

◆ TEST() [257/603]

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

Definition at line 44 of file BLI_math_half_test.cc.

References blender::EXPECT_EQ(), HFUN, and TEST().

◆ TEST() [258/603]

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

Definition at line 127 of file BLI_math_half_test.cc.

References exp, blender::math::half_to_float_array(), and TEST().

◆ TEST() [259/603]

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

Definition at line 155 of file BLI_math_half_test.cc.

References exp, blender::math::half_to_float_array(), and TEST().

◆ TEST() [260/603]

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

◆ TEST() [261/603]

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

◆ TEST() [262/603]

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

◆ TEST() [263/603]

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

Access helpers.

Definition at line 219 of file BLI_math_matrix_test.cc.

References blender::EXPECT_EQ(), and TEST().

◆ TEST() [264/603]

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

Definition at line 205 of file BLI_math_matrix_test.cc.

References adjoint(), TEST(), and transpose.

◆ TEST() [265/603]

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

◆ TEST() [266/603]

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

Definition at line 192 of file BLI_math_matrix_test.cc.

References determinant(), EXPECT_NEAR, and TEST().

◆ TEST() [267/603]

◆ TEST() [268/603]

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

◆ TEST() [269/603]

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

◆ TEST() [270/603]

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

◆ TEST() [271/603]

◆ TEST() [272/603]

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

Definition at line 295 of file BLI_math_matrix_test.cc.

References blender::e, M_PI_2, blender::result, rotate(), scale(), TEST(), and translate().

◆ TEST() [273/603]

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

Definition at line 347 of file BLI_math_matrix_test.cc.

References blender::result, and TEST().

◆ TEST() [274/603]

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

Definition at line 594 of file BLI_math_matrix_test.cc.

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

◆ TEST() [275/603]

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

◆ TEST() [276/603]

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

◆ TEST() [277/603]

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

Definition at line 447 of file BLI_math_matrix_test.cc.

References TEST(), and blender::math::to_quaternion_legacy().

◆ TEST() [278/603]

◆ TEST() [279/603]

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

◆ TEST() [280/603]

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

Definition at line 458 of file BLI_math_matrix_test.cc.

References blender::EXPECT_EQ(), TEST(), and transpose.

◆ TEST() [281/603]

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

Definition at line 113 of file BLI_math_matrix_test.cc.

References blender::e, mul_m3_series, and TEST().

◆ TEST() [282/603]

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

Definition at line 129 of file BLI_math_matrix_test.cc.

References blender::e, mul_m4_series, and TEST().

◆ TEST() [283/603]

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

◆ TEST() [284/603]

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

◆ TEST() [285/603]

◆ TEST() [286/603]

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

◆ TEST() [287/603]

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

Definition at line 126 of file BLI_math_matrix_types_test.cc.

References blender::EXPECT_EQ(), and TEST().

◆ TEST() [288/603]

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

Definition at line 76 of file BLI_math_matrix_types_test.cc.

References blender::EXPECT_EQ(), and TEST().

◆ TEST() [289/603]

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

Definition at line 14 of file BLI_math_matrix_types_test.cc.

References blender::EXPECT_EQ(), and TEST().

◆ TEST() [290/603]

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

◆ TEST() [291/603]

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

Definition at line 205 of file BLI_math_matrix_types_test.cc.

References blender::EXPECT_EQ(), and TEST().

◆ TEST() [292/603]

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

Definition at line 115 of file BLI_math_matrix_types_test.cc.

References blender::EXPECT_EQ(), float, and TEST().

◆ TEST() [293/603]

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

Definition at line 86 of file BLI_math_matrix_types_test.cc.

References blender::EXPECT_EQ(), and TEST().

◆ TEST() [294/603]

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

Definition at line 61 of file BLI_math_matrix_types_test.cc.

References blender::EXPECT_EQ(), and TEST().

◆ TEST() [295/603]

◆ TEST() [296/603]

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

◆ TEST() [297/603]

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

Definition at line 96 of file BLI_math_matrix_types_test.cc.

References blender::EXPECT_EQ(), and TEST().

◆ TEST() [298/603]

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

Definition at line 50 of file BLI_math_matrix_types_test.cc.

References blender::EXPECT_EQ(), and TEST().

◆ TEST() [299/603]

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

Definition at line 275 of file BLI_math_matrix_types_test.cc.

References blender::EXPECT_EQ(), blender::result, and TEST().

◆ TEST() [300/603]

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

◆ TEST() [301/603]

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

◆ TEST() [302/603]

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

◆ TEST() [303/603]

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

◆ TEST() [304/603]

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

◆ TEST() [305/603]

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

◆ TEST() [306/603]

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

◆ TEST() [307/603]

◆ TEST() [308/603]

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

Definition at line 230 of file BLI_math_rotation_types_test.cc.

References EXPECT_NEAR, M_PI, and TEST().

◆ TEST() [309/603]

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

Definition at line 432 of file BLI_math_rotation_types_test.cc.

References blender::e, EXPECT_NEAR, M_PI, M_PI_2, M_PI_4, and TEST().

◆ TEST() [310/603]

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

◆ TEST() [311/603]

◆ TEST() [312/603]

◆ TEST() [313/603]

◆ TEST() [314/603]

◆ TEST() [315/603]

◆ TEST() [316/603]

◆ TEST() [317/603]

◆ TEST() [318/603]

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

◆ TEST() [319/603]

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

◆ TEST() [320/603]

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

◆ TEST() [321/603]

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

◆ TEST() [322/603]

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

◆ TEST() [323/603]

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

Definition at line 196 of file BLI_math_rotation_types_test.cc.

References blender::EXPECT_EQ(), blender::result, and TEST().

◆ TEST() [324/603]

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

◆ TEST() [325/603]

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

◆ TEST() [326/603]

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

Definition at line 151 of file BLI_math_vector_types_test.cc.

References blender::result, and TEST().

◆ TEST() [327/603]

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

Definition at line 163 of file BLI_math_vector_types_test.cc.

References blender::result, and TEST().

◆ TEST() [328/603]

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

Definition at line 117 of file BLI_math_vector_types_test.cc.

References blender::EXPECT_EQ(), and TEST().

◆ TEST() [329/603]

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

Definition at line 239 of file BLI_math_vector_types_test.cc.

References b, lexit::Divide, blender::result, and TEST().

◆ TEST() [330/603]

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

Definition at line 248 of file BLI_math_vector_types_test.cc.

References b, blender::result, and TEST().

◆ TEST() [331/603]

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

Definition at line 257 of file BLI_math_vector_types_test.cc.

References blender::result, and TEST().

◆ TEST() [332/603]

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

Definition at line 65 of file BLI_math_vector_types_test.cc.

References TEST().

◆ TEST() [333/603]

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

Definition at line 78 of file BLI_math_vector_types_test.cc.

References blender::EXPECT_EQ(), and TEST().

◆ TEST() [334/603]

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

Definition at line 211 of file BLI_math_vector_types_test.cc.

References blender::result, and TEST().

◆ TEST() [335/603]

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

Definition at line 223 of file BLI_math_vector_types_test.cc.

References blender::result, and TEST().

◆ TEST() [336/603]

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

Definition at line 41 of file BLI_math_vector_types_test.cc.

References blender::EXPECT_EQ(), and TEST().

◆ TEST() [337/603]

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

Definition at line 48 of file BLI_math_vector_types_test.cc.

References blender::EXPECT_EQ(), and TEST().

◆ TEST() [338/603]

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

Definition at line 56 of file BLI_math_vector_types_test.cc.

References blender::EXPECT_EQ(), and TEST().

◆ TEST() [339/603]

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

Definition at line 134 of file BLI_math_vector_types_test.cc.

References blender::EXPECT_EQ(), float, and TEST().

◆ TEST() [340/603]

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

Definition at line 125 of file BLI_math_vector_types_test.cc.

References blender::EXPECT_EQ(), and TEST().

◆ TEST() [341/603]

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

Definition at line 34 of file BLI_math_vector_types_test.cc.

References TEST().

◆ TEST() [342/603]

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

Definition at line 27 of file BLI_math_vector_types_test.cc.

References TEST().

◆ TEST() [343/603]

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

Definition at line 20 of file BLI_math_vector_types_test.cc.

References blender::EXPECT_EQ(), and TEST().

◆ TEST() [344/603]

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

Definition at line 13 of file BLI_math_vector_types_test.cc.

References blender::EXPECT_EQ(), and TEST().

◆ TEST() [345/603]

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

Definition at line 179 of file BLI_math_vector_types_test.cc.

References blender::result, and TEST().

◆ TEST() [346/603]

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

Definition at line 195 of file BLI_math_vector_types_test.cc.

References blender::result, and TEST().

◆ TEST() [347/603]

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

Definition at line 383 of file BLI_math_vector_types_test.cc.

References b, blender::EXPECT_EQ(), TEST(), and blender::v.

◆ TEST() [348/603]

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

Definition at line 466 of file BLI_math_vector_types_test.cc.

References b, blender::EXPECT_EQ(), and TEST().

◆ TEST() [349/603]

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

Definition at line 285 of file BLI_math_vector_types_test.cc.

References b, blender::EXPECT_EQ(), TEST(), and blender::v.

◆ TEST() [350/603]

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

Definition at line 309 of file BLI_math_vector_types_test.cc.

References b, blender::EXPECT_EQ(), TEST(), and blender::v.

◆ TEST() [351/603]

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

Definition at line 362 of file BLI_math_vector_types_test.cc.

References blender::EXPECT_EQ(), TEST(), and blender::v.

◆ TEST() [352/603]

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

Definition at line 402 of file BLI_math_vector_types_test.cc.

References b, blender::EXPECT_EQ(), TEST(), and blender::v.

◆ TEST() [353/603]

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

Definition at line 264 of file BLI_math_vector_types_test.cc.

References blender::EXPECT_EQ(), and TEST().

◆ TEST() [354/603]

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

Definition at line 144 of file BLI_math_vector_types_test.cc.

References blender::EXPECT_EQ(), and TEST().

◆ TEST() [355/603]

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

Definition at line 127 of file BLI_math_vector_test.cc.

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

◆ TEST() [356/603]

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

◆ TEST() [357/603]

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

Definition at line 13 of file BLI_math_vector_test.cc.

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

◆ TEST() [358/603]

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

Definition at line 137 of file BLI_math_vector_test.cc.

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

◆ TEST() [359/603]

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

Definition at line 192 of file BLI_math_vector_test.cc.

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

◆ TEST() [360/603]

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

Definition at line 117 of file BLI_math_vector_test.cc.

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

◆ TEST() [361/603]

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

◆ TEST() [362/603]

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

Definition at line 201 of file BLI_math_vector_test.cc.

References EXPECT_NEAR, blender::math::log(), log, blender::result, and TEST().

◆ TEST() [363/603]

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

◆ TEST() [364/603]

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

◆ TEST() [365/603]

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

Definition at line 174 of file BLI_math_vector_test.cc.

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

◆ TEST() [366/603]

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

◆ TEST() [367/603]

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

◆ TEST() [368/603]

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

Definition at line 147 of file BLI_math_vector_test.cc.

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

◆ TEST() [369/603]

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

◆ TEST() [370/603]

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

◆ TEST() [371/603]

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

Definition at line 34 of file BLI_math_vector_test.cc.

References blender::invert_v3(), blender::invert_v3_safe(), and TEST().

◆ TEST() [372/603]

◆ TEST() [373/603]

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

Definition at line 66 of file BLI_memory_utils_test.cc.

References BLI_SCOPED_DEFER, blender::EXPECT_EQ(), and TEST().

◆ TEST() [374/603]

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

Definition at line 79 of file BLI_memory_utils_test.cc.

References BLI_SCOPED_DEFER, blender::EXPECT_EQ(), and TEST().

◆ TEST() [375/603]

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

◆ TEST() [376/603]

◆ TEST() [377/603]

◆ TEST() [378/603]

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

◆ TEST() [379/603]

◆ TEST() [380/603]

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

◆ TEST() [381/603]

◆ TEST() [382/603]

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

◆ TEST() [383/603]

◆ TEST() [384/603]

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

◆ TEST() [385/603]

blender::tests::TEST ( normalized_int ,
roundtrip  )

Definition at line 11 of file BLI_normalized_int_test.cc.

References blender::EXPECT_EQ(), and TEST().

◆ TEST() [386/603]

blender::tests::TEST ( parse_rna_path ,
empty  )

Definition at line 34 of file rna_path_test.cc.

References EXPECT_FALSE, blender::ParsedRNAPath< N >::from_string(), and TEST().

◆ TEST() [387/603]

blender::tests::TEST ( parse_rna_path ,
just_index  )

◆ TEST() [388/603]

blender::tests::TEST ( parse_rna_path ,
just_key  )

◆ TEST() [389/603]

blender::tests::TEST ( parse_rna_path ,
just_member  )

◆ TEST() [390/603]

blender::tests::TEST ( parse_rna_path ,
multi  )

◆ TEST() [391/603]

◆ TEST() [392/603]

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

◆ TEST() [393/603]

◆ TEST() [394/603]

◆ TEST() [395/603]

◆ TEST() [396/603]

◆ TEST() [397/603]

◆ TEST() [398/603]

◆ TEST() [399/603]

◆ TEST() [400/603]

◆ TEST() [401/603]

◆ TEST() [402/603]

◆ TEST() [403/603]

◆ TEST() [404/603]

◆ TEST() [405/603]

◆ TEST() [406/603]

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

◆ TEST() [407/603]

◆ TEST() [408/603]

◆ TEST() [409/603]

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

◆ TEST() [410/603]

◆ TEST() [411/603]

◆ TEST() [412/603]

◆ TEST() [413/603]

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

Definition at line 667 of file BLI_set_test.cc.

References b, blender::e, blender::EXPECT_EQ(), EXPECT_NE, and TEST().

◆ TEST() [414/603]

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

◆ TEST() [415/603]

◆ TEST() [416/603]

◆ TEST() [417/603]

◆ TEST() [418/603]

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

Definition at line 411 of file BLI_set_test.cc.

References EXPECT_FALSE, EXPECT_TRUE, and TEST().

◆ TEST() [419/603]

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

Definition at line 449 of file BLI_set_test.cc.

References EXPECT_FALSE, EXPECT_TRUE, and TEST().

◆ TEST() [420/603]

◆ TEST() [421/603]

◆ TEST() [422/603]

◆ TEST() [423/603]

◆ TEST() [424/603]

◆ TEST() [425/603]

◆ TEST() [426/603]

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

◆ TEST() [427/603]

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

◆ TEST() [428/603]

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

◆ TEST() [429/603]

◆ TEST() [430/603]

◆ TEST() [431/603]

◆ TEST() [432/603]

◆ TEST() [433/603]

◆ TEST() [434/603]

◆ TEST() [435/603]

◆ TEST() [436/603]

◆ TEST() [437/603]

◆ TEST() [438/603]

◆ TEST() [439/603]

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

Definition at line 544 of file BLI_set_test.cc.

References TEST().

◆ TEST() [440/603]

◆ TEST() [441/603]

◆ TEST() [442/603]

◆ TEST() [443/603]

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

Definition at line 24 of file BLI_span_test.cc.

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

◆ TEST() [444/603]

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

◆ TEST() [445/603]

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

◆ TEST() [446/603]

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

◆ TEST() [447/603]

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

Definition at line 438 of file BLI_span_test.cc.

References b, EXPECT_FALSE, EXPECT_TRUE, blender::Span< T >::Span(), and TEST().

◆ TEST() [448/603]

◆ TEST() [449/603]

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

Definition at line 159 of file BLI_span_test.cc.

References blender::Span< T >::contains(), EXPECT_FALSE, EXPECT_TRUE, and TEST().

◆ TEST() [450/603]

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

◆ TEST() [451/603]

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

◆ TEST() [452/603]

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

Definition at line 183 of file BLI_span_test.cc.

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

◆ TEST() [453/603]

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

Definition at line 43 of file BLI_span_test.cc.

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

◆ TEST() [454/603]

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

◆ TEST() [455/603]

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

Definition at line 59 of file BLI_span_test.cc.

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

◆ TEST() [456/603]

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

◆ TEST() [457/603]

◆ TEST() [458/603]

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

Definition at line 228 of file BLI_span_test.cc.

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

◆ TEST() [459/603]

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

◆ TEST() [460/603]

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

Definition at line 293 of file BLI_span_test.cc.

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

◆ TEST() [461/603]

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

◆ TEST() [462/603]

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

◆ TEST() [463/603]

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

Definition at line 219 of file BLI_span_test.cc.

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

◆ TEST() [464/603]

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

Definition at line 203 of file BLI_span_test.cc.

References TEST(), and test_ref_from_initializer_list().

◆ TEST() [465/603]

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

Definition at line 14 of file BLI_span_test.cc.

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

◆ TEST() [466/603]

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

Definition at line 208 of file BLI_span_test.cc.

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

◆ TEST() [467/603]

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

Definition at line 426 of file BLI_span_test.cc.

References BLI_STATIC_ASSERT(), and TEST().

◆ TEST() [468/603]

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

◆ TEST() [469/603]

◆ TEST() [470/603]

◆ TEST() [471/603]

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

◆ TEST() [472/603]

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

◆ TEST() [473/603]

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

Definition at line 121 of file BLI_span_test.cc.

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

◆ TEST() [474/603]

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

Definition at line 130 of file BLI_span_test.cc.

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

◆ TEST() [475/603]

◆ TEST() [476/603]

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

◆ TEST() [477/603]

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

Definition at line 103 of file BLI_span_test.cc.

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

◆ TEST() [478/603]

◆ TEST() [479/603]

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

Definition at line 85 of file BLI_span_test.cc.

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

◆ TEST() [480/603]

◆ TEST() [481/603]

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

Definition at line 337 of file BLI_span_test.cc.

References b, blender::EXPECT_EQ(), and TEST().

◆ TEST() [482/603]

◆ TEST() [483/603]

◆ TEST() [484/603]

◆ TEST() [485/603]

◆ TEST() [486/603]

◆ TEST() [487/603]

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

◆ TEST() [488/603]

◆ TEST() [489/603]

◆ TEST() [490/603]

◆ TEST() [491/603]

◆ TEST() [492/603]

◆ TEST() [493/603]

◆ TEST() [494/603]

◆ TEST() [495/603]

◆ TEST() [496/603]

◆ TEST() [497/603]

◆ TEST() [498/603]

◆ TEST() [499/603]

◆ TEST() [500/603]

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

Definition at line 202 of file BLI_stack_cxx_test.cc.

References TEST().

◆ TEST() [501/603]

◆ TEST() [502/603]

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

Definition at line 202 of file BLI_string_ref_test.cc.

References b, blender::EXPECT_EQ(), blender::result, and TEST().

◆ TEST() [503/603]

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

Definition at line 210 of file BLI_string_ref_test.cc.

References blender::EXPECT_EQ(), blender::result, and TEST().

◆ TEST() [504/603]

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

Definition at line 217 of file BLI_string_ref_test.cc.

References blender::EXPECT_EQ(), blender::result, and TEST().

◆ TEST() [505/603]

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

Definition at line 224 of file BLI_string_ref_test.cc.

References blender::EXPECT_EQ(), blender::result, and TEST().

◆ TEST() [506/603]

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

Definition at line 231 of file BLI_string_ref_test.cc.

References blender::EXPECT_EQ(), blender::result, and TEST().

◆ TEST() [507/603]

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

Definition at line 238 of file BLI_string_ref_test.cc.

References EXPECT_FALSE, EXPECT_TRUE, and TEST().

◆ TEST() [508/603]

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

Definition at line 249 of file BLI_string_ref_test.cc.

References EXPECT_FALSE, EXPECT_TRUE, and TEST().

◆ TEST() [509/603]

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

Definition at line 258 of file BLI_string_ref_test.cc.

References EXPECT_FALSE, EXPECT_TRUE, and TEST().

◆ TEST() [510/603]

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

Definition at line 267 of file BLI_string_ref_test.cc.

References EXPECT_FALSE, EXPECT_TRUE, and TEST().

◆ TEST() [511/603]

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

Definition at line 276 of file BLI_string_ref_test.cc.

References EXPECT_FALSE, EXPECT_TRUE, and TEST().

◆ TEST() [512/603]

◆ TEST() [513/603]

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

◆ TEST() [514/603]

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

◆ TEST() [515/603]

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

◆ TEST() [516/603]

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

◆ TEST() [517/603]

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

◆ TEST() [518/603]

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

◆ TEST() [519/603]

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

◆ TEST() [520/603]

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

◆ TEST() [521/603]

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

◆ TEST() [522/603]

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

◆ TEST() [523/603]

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

Definition at line 577 of file BLI_string_ref_test.cc.

References blender::EXPECT_EQ(), and TEST().

◆ TEST() [524/603]

◆ TEST() [525/603]

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

◆ TEST() [526/603]

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

Definition at line 191 of file BLI_string_ref_test.cc.

References blender::EXPECT_EQ(), str, and TEST().

◆ TEST() [527/603]

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

◆ TEST() [528/603]

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

◆ TEST() [529/603]

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

◆ TEST() [530/603]

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

◆ TEST() [531/603]

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

◆ TEST() [532/603]

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

◆ TEST() [533/603]

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

◆ TEST() [534/603]

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

◆ TEST() [535/603]

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

Definition at line 183 of file BLI_string_ref_test.cc.

References blender::EXPECT_EQ(), str, and TEST().

◆ TEST() [536/603]

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

Definition at line 584 of file BLI_string_ref_test.cc.

References blender::EXPECT_EQ(), and TEST().

◆ TEST() [537/603]

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

◆ TEST() [538/603]

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

◆ TEST() [539/603]

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

◆ TEST() [540/603]

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

◆ TEST() [541/603]

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

◆ TEST() [542/603]

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

◆ TEST() [543/603]

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

◆ TEST() [544/603]

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

Definition at line 38 of file BLI_string_ref_test.cc.

References EXPECT_FALSE, EXPECT_TRUE, and TEST().

◆ TEST() [545/603]

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

Definition at line 49 of file BLI_string_ref_test.cc.

References EXPECT_FALSE, EXPECT_TRUE, and TEST().

◆ TEST() [546/603]

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

Definition at line 58 of file BLI_string_ref_test.cc.

References EXPECT_FALSE, EXPECT_TRUE, and TEST().

◆ TEST() [547/603]

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

Definition at line 67 of file BLI_string_ref_test.cc.

References EXPECT_FALSE, EXPECT_TRUE, and TEST().

◆ TEST() [548/603]

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

Definition at line 76 of file BLI_string_ref_test.cc.

References EXPECT_FALSE, EXPECT_TRUE, and TEST().

◆ TEST() [549/603]

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

◆ TEST() [550/603]

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

◆ TEST() [551/603]

◆ TEST() [552/603]

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

◆ TEST() [553/603]

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

◆ TEST() [554/603]

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

◆ TEST() [555/603]

◆ TEST() [556/603]

◆ TEST() [557/603]

◆ TEST() [558/603]

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

◆ TEST() [559/603]

◆ TEST() [560/603]

blender::tests::TEST ( ustring ,
LiteralOperator  )

Definition at line 136 of file BLI_ustring_test.cc.

References blender::UString::c_str(), blender::EXPECT_EQ(), and TEST().

◆ TEST() [561/603]

blender::tests::TEST ( ustring ,
LongString  )

◆ TEST() [562/603]

◆ TEST() [563/603]

◆ TEST() [564/603]

◆ TEST() [565/603]

blender::tests::TEST ( ustring ,
UniqueCorrectness  )

Definition at line 70 of file BLI_ustring_test.cc.

References b, blender::UString::c_str(), blender::EXPECT_EQ(), and TEST().

◆ TEST() [566/603]

◆ TEST() [567/603]

◆ TEST() [568/603]

◆ TEST() [569/603]

◆ TEST() [570/603]

◆ TEST() [571/603]

◆ TEST() [572/603]

◆ TEST() [573/603]

◆ TEST() [574/603]

◆ TEST() [575/603]

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

Definition at line 245 of file BLI_vector_set_test.cc.

References TEST().

◆ TEST() [576/603]

◆ TEST() [577/603]

◆ TEST() [578/603]

◆ TEST() [579/603]

◆ TEST() [580/603]

◆ TEST() [581/603]

◆ TEST() [582/603]

◆ TEST() [583/603]

◆ TEST() [584/603]

◆ TEST() [585/603]

◆ TEST() [586/603]

◆ TEST() [587/603]

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

◆ TEST() [588/603]

◆ TEST() [589/603]

◆ TEST() [590/603]

◆ TEST() [591/603]

◆ TEST() [592/603]

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

◆ TEST() [593/603]

◆ TEST() [594/603]

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

◆ TEST() [595/603]

◆ TEST() [596/603]

◆ TEST() [597/603]

◆ TEST() [598/603]

◆ TEST() [599/603]

◆ TEST() [600/603]

◆ TEST() [601/603]

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

Definition at line 236 of file BLI_vector_set_test.cc.

References TEST().

◆ TEST() [602/603]

◆ TEST() [603/603]

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(), blender::EXPECT_EQ(), EXPECT_FALSE, EXPECT_TRUE, blender::FILE_TYPE_ASSET, blender::FILE_TYPE_BLENDER, blender::FILE_TYPE_IMAGE, blender::FILE_TYPE_TEXT, blender::wmDragPath::paths, blender::wmDrag::poin, lexit::Vector< T >::size(), TEST(), blender::wmDragPath::tooltip, blender::wmDrag::type, blender::WM_DRAG_COLOR, blender::WM_drag_create_path_data(), blender::WM_drag_get_path_file_type(), blender::WM_drag_get_paths(), blender::WM_drag_get_single_path(), blender::WM_drag_has_path_file_type(), and blender::WM_DRAG_PATH.

◆ TEST_F() [1/93]

blender::tests::TEST_F ( BlfDimensionsTest ,
advance  )

◆ TEST_F() [2/93]

blender::tests::TEST_F ( BlfDimensionsTest ,
ascender  )

◆ TEST_F() [3/93]

blender::tests::TEST_F ( BlfDimensionsTest ,
descender  )

◆ TEST_F() [4/93]

blender::tests::TEST_F ( BlfDimensionsTest ,
fixed_width  )

◆ TEST_F() [5/93]

blender::tests::TEST_F ( BlfDimensionsTest ,
height_em  )

◆ TEST_F() [6/93]

blender::tests::TEST_F ( BlfDimensionsTest ,
height_max  )

◆ TEST_F() [7/93]

blender::tests::TEST_F ( BlfDimensionsTest ,
width_em  )

◆ TEST_F() [8/93]

blender::tests::TEST_F ( BlfDimensionsTest ,
width_max  )

◆ TEST_F() [9/93]

blender::tests::TEST_F ( BlfLoadTest ,
display_name_from_file  )

◆ TEST_F() [10/93]

blender::tests::TEST_F ( BlfLoadTest ,
display_name_from_id  )

◆ TEST_F() [11/93]

blender::tests::TEST_F ( BlfLoadTest ,
font_is_loaded_id  )

Definition at line 53 of file BLF_tests.cc.

References blender::BLF_is_loaded_id(), close_font(), EXPECT_TRUE, open_font(), and TEST_F().

◆ TEST_F() [12/93]

blender::tests::TEST_F ( BlfLoadTest ,
font_is_loaded_path  )

◆ TEST_F() [13/93]

blender::tests::TEST_F ( BlfLoadTest ,
has_glyph  )

Definition at line 79 of file BLF_tests.cc.

References blender::BLF_has_glyph(), close_font(), EXPECT_TRUE, open_font(), and TEST_F().

◆ TEST_F() [14/93]

◆ TEST_F() [15/93]

blender::tests::TEST_F ( BlfMetricsTest ,
default_weight  )

◆ TEST_F() [16/93]

blender::tests::TEST_F ( BlfMetricsTest ,
get_vfont_metrics  )

◆ TEST_F() [17/93]

blender::tests::TEST_F ( BlfMetricsTest ,
has_variable_weight  )

◆ TEST_F() [18/93]

blender::tests::TEST_F ( BlfMetricsTest ,
variable_weight  )

◆ TEST_F() [19/93]

◆ TEST_F() [20/93]

blender::tests::TEST_F ( BlfWrappingMinimalTest ,
wrap_hardlimit_too_narrow_width  )

◆ TEST_F() [21/93]

◆ TEST_F() [22/93]

◆ TEST_F() [23/93]

◆ TEST_F() [24/93]

◆ TEST_F() [25/93]

◆ TEST_F() [26/93]

◆ TEST_F() [27/93]

◆ TEST_F() [28/93]

◆ TEST_F() [29/93]

◆ TEST_F() [30/93]

◆ TEST_F() [31/93]

◆ TEST_F() [32/93]

◆ TEST_F() [33/93]

◆ TEST_F() [34/93]

◆ TEST_F() [35/93]

◆ TEST_F() [36/93]

◆ TEST_F() [37/93]

◆ TEST_F() [38/93]

blender::tests::TEST_F ( CPPTypeTest ,
Alignment  )

Definition at line 109 of file BLI_cpp_type_test.cc.

References blender::EXPECT_EQ(), and TEST_F().

◆ TEST_F() [39/93]

blender::tests::TEST_F ( CPPTypeTest ,
CopyAssignCompressed  )

◆ TEST_F() [40/93]

blender::tests::TEST_F ( CPPTypeTest ,
CopyToInitialized  )

◆ TEST_F() [41/93]

blender::tests::TEST_F ( CPPTypeTest ,
CopyToUninitialized  )

◆ TEST_F() [42/93]

blender::tests::TEST_F ( CPPTypeTest ,
DebugPrint  )

◆ TEST_F() [43/93]

blender::tests::TEST_F ( CPPTypeTest ,
DefaultConstruction  )

◆ TEST_F() [44/93]

blender::tests::TEST_F ( CPPTypeTest ,
DefaultConstructTrivial  )

◆ TEST_F() [45/93]

blender::tests::TEST_F ( CPPTypeTest ,
Destruct  )

◆ TEST_F() [46/93]

blender::tests::TEST_F ( CPPTypeTest ,
FillInitialized  )

◆ TEST_F() [47/93]

blender::tests::TEST_F ( CPPTypeTest ,
FillUninitialized  )

◆ TEST_F() [48/93]

blender::tests::TEST_F ( CPPTypeTest ,
Is  )

Definition at line 114 of file BLI_cpp_type_test.cc.

References EXPECT_FALSE, EXPECT_TRUE, and TEST_F().

◆ TEST_F() [49/93]

blender::tests::TEST_F ( CPPTypeTest ,
RelocateToInitialized  )

◆ TEST_F() [50/93]

blender::tests::TEST_F ( CPPTypeTest ,
RelocateToUninitialized  )

◆ TEST_F() [51/93]

blender::tests::TEST_F ( CPPTypeTest ,
Size  )

Definition at line 104 of file BLI_cpp_type_test.cc.

References blender::EXPECT_EQ(), and TEST_F().

◆ TEST_F() [52/93]

◆ TEST_F() [53/93]

blender::tests::TEST_F ( CPPTypeTest ,
ValueInitialize  )

◆ TEST_F() [54/93]

blender::tests::TEST_F ( CPPTypeTest ,
ValueInitializeTrivial  )

◆ TEST_F() [55/93]

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

◆ TEST_F() [56/93]

◆ TEST_F() [57/93]

◆ TEST_F() [58/93]

◆ TEST_F() [59/93]

◆ TEST_F() [60/93]

blender::tests::TEST_F ( GenericArrayTest ,
DefaultConstructor  )

Definition at line 144 of file BLI_generic_array_test.cc.

References EXPECT_TRUE, and TEST_F().

◆ TEST_F() [61/93]

blender::tests::TEST_F ( GenericArrayTest ,
InContainer  )

◆ TEST_F() [62/93]

◆ TEST_F() [63/93]

◆ TEST_F() [64/93]

◆ TEST_F() [65/93]

◆ TEST_F() [66/93]

blender::tests::TEST_F ( GenericSpanTest ,
BufferAndSizeConstructor  )

◆ TEST_F() [67/93]

◆ TEST_F() [68/93]

blender::tests::TEST_F ( GenericSpanTest ,
MutableTypeConstructor  )

◆ TEST_F() [69/93]

◆ TEST_F() [70/93]

blender::tests::TEST_F ( GenericVectorArrayTest ,
Append  )

◆ TEST_F() [71/93]

◆ TEST_F() [72/93]

blender::tests::TEST_F ( GenericVectorArrayTest ,
Extend  )

◆ TEST_F() [73/93]

◆ TEST_F() [74/93]

blender::tests::TEST_F ( RNAPathTest ,
RNA_path_name_to_infix  )

◆ TEST_F() [75/93]

blender::tests::TEST_F ( RNAPathTest ,
RNA_path_number_to_infix  )

◆ TEST_F() [76/93]

◆ TEST_F() [77/93]

◆ TEST_F() [78/93]

◆ TEST_F() [79/93]

◆ TEST_F() [80/93]

◆ TEST_F() [81/93]

◆ TEST_F() [82/93]

◆ TEST_F() [83/93]

◆ TEST_F() [84/93]

◆ TEST_F() [85/93]

◆ TEST_F() [86/93]

◆ TEST_F() [87/93]

◆ TEST_F() [88/93]

◆ TEST_F() [89/93]

◆ TEST_F() [90/93]

◆ TEST_F() [91/93]

blender::tests::TEST_F ( VirtualArrayTest ,
StdVector  )

◆ TEST_F() [92/93]

◆ TEST_F() [93/93]

◆ test_ref_from_initializer_list()

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

◆ transform_normals_test()

Variable Documentation

◆ copy_assigned_from_value

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

Definition at line 20 of file BLI_cpp_type_test.cc.

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

◆ copy_assigned_value

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

Definition at line 19 of file BLI_cpp_type_test.cc.

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

◆ copy_constructed_from_value

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

Definition at line 17 of file BLI_cpp_type_test.cc.

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

◆ copy_constructed_value

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

Definition at line 15 of file BLI_cpp_type_test.cc.

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

◆ default_constructed_value

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

Definition at line 14 of file BLI_cpp_type_test.cc.

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

◆ destructed_value

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

Definition at line 23 of file BLI_cpp_type_test.cc.

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

◆ move_assigned_from_value

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

Definition at line 22 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 21 of file BLI_cpp_type_test.cc.

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

◆ move_constructed_from_value

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

Definition at line 18 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 16 of file BLI_cpp_type_test.cc.

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