|
Blender V4.5
|
Classes | |
| class | BKE_armature_find_selected_bones_test |
| class | BMainMergeTest |
| class | BMainNameMapTest |
| class | BMainTest |
| class | BPathTest |
| class | GreasePencilInterpolate |
| class | IDSubDataTestData |
| class | ImageTest |
| struct | LibIDMainSortTestContext |
| class | LibQueryTest |
| class | LibRemapTest |
| class | MaterialTestData |
| class | MeshObjectTestData |
| class | MeshTestData |
| class | PaintBVHTest |
| struct | PathTemplateTestCase |
| class | TestData |
| class | TwoMeshesTestData |
| class | WholeIDTestData |
Functions | |
| TEST (action_groups, ReconstructGroupsWithReordering) | |
| TEST (action_assets, BKE_action_has_single_frame) | |
| TEST (anim_data, BKE_fcurves_id_cb_test) | |
| static double | EXPECT_M3_ORTHOGONAL (const float mat[3][3], double epsilon_scale, double epsilon_ortho) |
| TEST (mat3_vec_to_roll, UnitMatrix) | |
| TEST (mat3_vec_to_roll, Rotationmatrix) | |
| static double | test_vec_roll_to_mat3_normalized (const float input[3], float roll, const float expected_roll_mat[3][3], bool normalize=true) |
| static double | find_flip_boundary (double x, double z) |
| TEST (vec_roll_to_mat3_normalized, FlippedBoundary1) | |
| TEST (vec_roll_to_mat3_normalized, FlippedBoundary2) | |
| TEST (vec_roll_to_mat3_normalized, Flipped1) | |
| TEST (vec_roll_to_mat3_normalized, Flipped2) | |
| TEST (vec_roll_to_mat3_normalized, Flipped3) | |
| TEST (vec_roll_to_mat3_normalized, Rotate90_Z_CW) | |
| TEST (vec_roll_to_mat3_normalized, Rotate90_Z_CCW) | |
| TEST (vec_roll_to_mat3_normalized, Rotate90_X_CW) | |
| TEST (vec_roll_to_mat3_normalized, Rotate90_X_CCW) | |
| TEST (vec_roll_to_mat3_normalized, Generic1) | |
| TEST (vec_roll_to_mat3_normalized, Generic2) | |
| TEST (vec_roll_to_mat3_normalized, Generic3) | |
| TEST (vec_roll_to_mat3_normalized, Generic4) | |
| TEST (vec_roll_to_mat3_normalized, Roll1) | |
| static double | test_vec_roll_to_mat3_orthogonal (double s, double x, double z) |
| static void | test_vec_roll_to_mat3_orthogonal (double s, double x1, double x2, double y1, double y2) |
| TEST_F (BKE_armature_find_selected_bones_test, some_bones_selected) | |
| TEST_F (BKE_armature_find_selected_bones_test, no_bones_selected) | |
| TEST_F (BKE_armature_find_selected_bones_test, all_bones_selected) | |
| TEST (AssetMetadataTest, set_catalog_id) | |
| TEST (attribute_storage, Empty) | |
| TEST (attribute_storage, Single) | |
| TEST (attribute_storage, GetForWrite) | |
| TEST (attribute_storage, MultipleShared) | |
| TEST (attribute_storage, CopyConstruct) | |
| TEST (attribute_storage, MoveConstruct) | |
| TEST (attribute_storage, UniqueNames) | |
| TEST_F (BPathTest, rebase_on_relative) | |
| TEST_F (BPathTest, rebase_on_absolute) | |
| TEST_F (BPathTest, convert_to_relative) | |
| TEST_F (BPathTest, convert_to_absolute) | |
| TEST_F (BPathTest, list_backup_restore) | |
| static CurvesGeometry | create_basic_curves (const int points_size, const int curves_size) |
| TEST (curves_geometry, Empty) | |
| TEST (curves_geometry, Move) | |
| TEST (curves_geometry, TypeCount) | |
| TEST (curves_geometry, CatmullRomEvaluation) | |
| TEST (curves_geometry, CatmullRomTwoPointCyclic) | |
| TEST (curves_geometry, BezierPositionEvaluation) | |
| TEST (curves_geometry, NURBSEvaluation) | |
| TEST (curves_geometry, BezierGenericEvaluation) | |
| TEST (knot_vector, KnotVectorUniform) | |
| TEST (knot_vector, KnotVectorUniformClamped) | |
| TEST (evaluate_fcurve, EmptyFCurve) | |
| TEST (evaluate_fcurve, OnKeys) | |
| TEST (evaluate_fcurve, InterpolationConstant) | |
| TEST (evaluate_fcurve, InterpolationLinear) | |
| TEST (evaluate_fcurve, InterpolationBezier) | |
| TEST (evaluate_fcurve, InterpolationBounce) | |
| TEST (evaluate_fcurve, ExtrapolationLinearKeys) | |
| TEST (evaluate_fcurve, ExtrapolationBezierKeys) | |
| TEST (fcurve_subdivide, BKE_fcurve_bezt_subdivide_handles) | |
| TEST (fcurve_active_keyframe, ActiveKeyframe) | |
| TEST (BKE_fcurve, BKE_fcurve_keyframe_move_value_with_handles) | |
| TEST (BKE_fcurve, BKE_fcurve_keyframe_move_time_with_handles) | |
| TEST (BKE_fcurve, BKE_fcurve_calc_range) | |
| TEST (BKE_fcurve, BKE_fcurve_calc_bounds) | |
| static void | set_key (FCurve *fcu, const int index, const float x, const float y) |
| static FCurve * | testcurve_with_duplicates () |
| TEST (BKE_fcurve, sort_time_fcurve_stability) | |
| TEST (BKE_fcurve, BKE_fcurve_deduplicate_keys) | |
| TEST (BKE_fcurve, BKE_fcurve_deduplicate_keys_edge_cases) | |
| TEST (BKE_fcurve, BKE_fcurve_deduplicate_keys_prefer_whole_frames) | |
| static void | file_handler_add_test (const int test_number, const char *idname, const char *label, const char *file_extensions_str, blender::Vector< std::string > expected_file_extensions) |
| TEST (file_handler, add) | |
| TEST (file_handler, find) | |
| TEST (file_handler, remove) | |
| TEST (udim, image_ensure_tile_token) | |
| TEST (udim, image_get_tile_strformat) | |
| TEST (udim, image_get_tile_number_from_filepath) | |
| TEST (udim, image_set_filepath_from_tile_number) | |
| TEST_F (ImageTest, multilayer) | |
| TEST (view_layer, aov_unique_names) | |
| static void | test_render_pass_conflict (Scene *scene, RenderEngine *engine, ViewLayer *view_layer, ViewLayerAOV *aov, const char *render_pass_name, const char *rna_prop_name) |
| TEST (view_layer, aov_conflict) | |
| static void | test_lib_id_main_sort_check_order (std::initializer_list< ID * > list) |
| TEST (lib_id_main_sort, local_ids_1) | |
| static void | change_lib (Main *bmain, ID *id, Library *lib) |
| static IDNewNameResult | change_name (Main *bmain, ID *id, const char *name, const IDNewNameMode mode) |
| TEST (lib_id_main_sort, linked_ids_1) | |
| TEST (lib_id_main_unique_name, local_ids_rename_existing_never) | |
| TEST (lib_id_main_unique_name, local_ids_rename_existing_always) | |
| TEST (lib_id_main_unique_name, local_ids_rename_existing_same_root) | |
| TEST (lib_id_main_unique_name, linked_ids_1) | |
| static void | change_name_global (Main *bmain, ID *id, const char *name) |
| TEST (lib_id_main_global_unique_name, linked_ids_1) | |
| TEST (lib_id_main_unique_name, ids_sorted_by_default) | |
| static ID * | add_id_in_library (Main *bmain, const char *name, Library *lib) |
| TEST (lib_id_main_unique_name, ids_sorted_by_default_with_libraries) | |
| TEST (lib_id_main_unique_name, name_too_long_handling) | |
| TEST (lib_id_main_unique_name, create_equivalent_numeric_suffixes) | |
| TEST (lib_id_main_unique_name, re_create_equivalent_numeric_suffixes) | |
| TEST (lib_id_main_unique_name, zero_suffix_is_never_assigned) | |
| TEST (lib_id_main_unique_name, remove_after_dup_get_original_name) | |
| TEST (lib_id_main_unique_name, name_number_suffix_assignment) | |
| TEST (lib_id_main_unique_name, renames_with_duplicates) | |
| TEST (lib_id_main_unique_name, names_are_unique_per_id_type) | |
| TEST (lib_id_main_unique_name, name_huge_number_suffix) | |
| TEST (lib_id_make_local, brush) | |
| TEST_F (BMainNameMapTest, global_map_uniqueness) | |
| TEST_F (BMainMergeTest, basics) | |
| TEST_F (BMainMergeTest, linked_data) | |
| TEST (nla_strip, BKE_nlastrip_recalculate_blend) | |
| TEST (nla_strip, BKE_nlastrips_add_strip) | |
| TEST (nla_strip, BKE_nla_clip_length_get_nonzero) | |
| TEST (nla_strip, BKE_nla_clip_length_ensure_nonzero) | |
| TEST (nla_track, BKE_nlatrack_remove_strip) | |
| TEST (nla_track, BKE_nlatrack_remove_and_free) | |
| TEST (nla_track, BKE_nlatrack_new_tail) | |
| TEST (nla_track, BKE_nlatrack_new_head) | |
| static std::string | error_to_string (const Error &error) |
| static std::string | errors_to_string (Span< Error > errors) |
| TEST (path_templates, VariableMap) | |
| TEST (path_templates, validate_and_apply_template) | |
| TEST (subdiv_ccg_coord, to_index) | |
| TEST (subdiv_ccg_coord, constructor) | |
| TEST_F (PaintBVHTest, from_mesh) | |
| TEST_F (GreasePencilInterpolate, sample_curve_empty_output) | |
| TEST_F (GreasePencilInterpolate, sample_curve_same_length) | |
| TEST_F (GreasePencilInterpolate, sample_curve_shorter) | |
| TEST_F (GreasePencilInterpolate, sample_curve_longer) | |
| TEST_F (GreasePencilInterpolate, sample_zero_length_curve) | |
Knot vector: KnotMode::NURBS_KNOT_MODE_ENDPOINT_BEZIER | |
| TEST (knot_vector, KnotVectorBezierClampedSegmentDeg2) | |
| TEST (knot_vector, KnotVectorBezierClampedSegmentDeg4) | |
| TEST (knot_vector, KnotVectorBezierClampedDeg2) | |
| TEST (knot_vector, KnotVectorBezierClampedUnevenDeg2) | |
| TEST (knot_vector, KnotVectorBezierClampedDeg4) | |
| TEST (knot_vector, KnotVectorBezierClampedUnevenDeg4) | |
| TEST (knot_vector, KnotVectorCircleCyclicUnevenDeg2) | |
| TEST (knot_vector, KnotVectorBezierClampedCyclicUnevenDeg4) | |
Knot vector: KnotMode::NURBS_KNOT_MODE_BEZIER | |
| TEST (knot_vector, KnotVectorBezierSegmentDeg2) | |
| TEST (knot_vector, KnotVectorBezierUnevenDeg2) | |
| TEST (knot_vector, KnotVectorBezierUnevenDeg4) | |
| TEST (knot_vector, KnotVectorBezierCyclicUnevenDeg4) | |
Query Tests | |
| TEST_F (LibQueryTest, libquery_basic) | |
| TEST_F (LibQueryTest, libquery_recursive) | |
| TEST_F (LibQueryTest, libquery_subdata) | |
Embedded IDs | |
| TEST_F (LibRemapTest, embedded_ids_can_not_be_remapped) | |
| TEST_F (LibRemapTest, embedded_ids_can_not_be_deleted) | |
Remap to self | |
| TEST_F (LibRemapTest, delete_when_remap_to_self_not_allowed) | |
User Reference Counting | |
| TEST_F (LibRemapTest, users_are_decreased_when_not_skipping_never_null) | |
| TEST_F (LibRemapTest, users_are_same_when_skipping_never_null) | |
Never Null | |
| TEST_F (LibRemapTest, do_not_delete_when_cannot_unset) | |
| TEST_F (LibRemapTest, force_never_null_usage) | |
| TEST_F (LibRemapTest, never_null_usage_flag_not_requested_on_delete) | |
| TEST_F (LibRemapTest, never_null_usage_storage_requested_on_delete) | |
| TEST_F (LibRemapTest, never_null_usage_flag_not_requested_on_remap) | |
| TEST_F (LibRemapTest, never_null_usage_storage_requested_on_remap) | |
Variables | |
| static const float | FLOAT_EPSILON = 1.2e-7 |
| static const float | SCALE_EPSILON = 3.71e-5 |
| static const float | ORTHO_EPSILON = 5e-5 |
| static const float | EPSILON = 1e-7f |
| static FileHandlerType * | test_file_handlers [MAX_FILE_HANDLERS_TEST_SIZE] |
|
static |
Definition at line 383 of file lib_id_test.cc.
References add_id_in_library(), BKE_id_new(), change_lib(), ID_OB, id_sort_by_name(), and Main::objects.
Referenced by add_id_in_library(), and TEST().
Definition at line 61 of file lib_id_test.cc.
References BKE_main_namemap_get_unique_name(), BKE_main_namemap_remove_id(), and change_lib().
Referenced by add_id_in_library(), change_lib(), TEST(), TEST(), TEST(), and TEST().
|
static |
Definition at line 71 of file lib_id_test.cc.
References BKE_libblock_rename(), and change_name().
Referenced by change_name(), TEST(), TEST(), TEST(), TEST(), and TEST().
Definition at line 303 of file lib_id_test.cc.
References BKE_main_global_namemap_get_unique_name(), BKE_main_namemap_remove_id(), BLI_strncpy(), change_name_global(), id_sort_by_name(), MAX_NAME, and Main::objects.
Referenced by change_name_global(), and TEST().
|
static |
Definition at line 15 of file curves_geometry_test.cc.
References create_basic_curves(), and i.
Referenced by create_basic_curves(), TEST(), and TEST().
|
static |
Definition at line 15 of file path_templates_test.cc.
References blender::bke::path_templates::Error::byte_range, error_to_string(), blender::bke::path_templates::FORMAT_SPECIFIER, blender::IndexRange::size(), blender::IndexRange::start(), blender::bke::path_templates::Error::type, blender::bke::path_templates::UNESCAPED_CURLY_BRACE, blender::bke::path_templates::UNKNOWN_VARIABLE, and blender::bke::path_templates::VARIABLE_SYNTAX.
Referenced by error_to_string(), and errors_to_string().
Definition at line 43 of file path_templates_test.cc.
References error_to_string(), and errors_to_string().
Referenced by errors_to_string(), and TEST().
|
static |
Test that the matrix is orthogonal, i.e. has no scale or shear within acceptable precision.
Definition at line 26 of file armature_test.cc.
References copy_m3d_m3(), blender::math::determinant(), determinant(), dot_v3v3_db(), EXPECT_M3_ORTHOGONAL(), blender::math::length(), and blender::MatBase< T, NumCol, NumRow, Alignment >::ptr().
Referenced by EXPECT_M3_ORTHOGONAL(), and test_vec_roll_to_mat3_normalized().
|
static |
Definition at line 15 of file file_handler_test.cc.
References EXPECT_EQ(), blender::bke::file_handler_add(), file_handler_add_test(), blender::bke::file_handlers(), MAX_FILE_HANDLERS_TEST_SIZE, STRNCPY(), and test_file_handlers.
Referenced by file_handler_add_test(), and TEST().
|
static |
Binary search to test where the code switches to the most degenerate special case.
Definition at line 144 of file armature_test.cc.
References e, find_flip_boundary(), input, M_1_PI, normalize_v3(), sqrt, vec_roll_to_mat3_normalized(), x, and z().
Referenced by find_flip_boundary(), TEST(), and TEST().
|
static |
Definition at line 632 of file fcurve_test.cc.
References FCurve::bezt, set_key(), BezTriple::vec, x, and y.
Referenced by set_key(), TEST(), TEST(), and testcurve_with_duplicates().
| blender::bke::tests::TEST | ( | action_assets | , |
| BKE_action_has_single_frame | ) |
Definition at line 163 of file blenkernel/intern/action_test.cc.
References FCurve::bezt, BLI_addtail(), bAction::curves, TEST(), and BezTriple::vec.
| blender::bke::tests::TEST | ( | action_groups | , |
| ReconstructGroupsWithReordering | ) |
Definition at line 20 of file blenkernel/intern/action_test.cc.
References BKE_action_groups_reconstruct(), BLI_addtail(), bActionGroup::channels, bAction::curves, EXPECT_EQ(), ListBase::first, bAction::groups, FCurve::grp, ListBase::last, bActionGroup::name, bActionGroup::next, FCurve::next, bActionGroup::prev, FCurve::prev, FCurve::rna_path, STRNCPY(), 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(), and TEST().
| blender::bke::tests::TEST | ( | anim_data | , |
| BKE_fcurves_id_cb_test | ) |
Definition at line 18 of file anim_data_test.cc.
References blender::animrig::action_fcurve_ensure(), blender::animrig::assign_action(), BKE_fcurves_id_cb(), BKE_id_new(), BKE_idtype_init(), BKE_main_free(), BKE_main_new(), BKE_object_add_only_object(), blender::Vector< T, InlineBufferCapacity, Allocator >::clear(), CLG_exit(), CLG_init(), EXPECT_EQ(), Object::id, OB_EMPTY, blender::Vector< T, InlineBufferCapacity, Allocator >::size(), and TEST().
| blender::bke::tests::TEST | ( | AssetMetadataTest | , |
| set_catalog_id | ) |
Definition at line 15 of file asset_metadata_test.cc.
References BKE_asset_metadata_catalog_id_clear(), BKE_asset_metadata_catalog_id_set(), BLI_uuid_equal(), BLI_uuid_generate_random(), BLI_uuid_is_nil(), AssetMetaData::catalog_id, AssetMetaData::catalog_simple_name, and TEST().
| blender::bke::tests::TEST | ( | attribute_storage | , |
| CopyConstruct | ) |
Definition at line 112 of file attribute_storage_test.cc.
References blender::bke::AttributeStorage::add(), blender::bke::Corner, data, EXPECT_EQ(), blender::bke::Float, blender::ImplicitSharingPtr< T, IsStrong >::ImplicitSharingPtr(), and TEST().
| blender::bke::tests::TEST | ( | attribute_storage | , |
| Empty | ) |
Definition at line 12 of file attribute_storage_test.cc.
References EXPECT_EQ(), blender::bke::AttributeStorage::foreach(), and TEST().
| blender::bke::tests::TEST | ( | attribute_storage | , |
| GetForWrite | ) |
Definition at line 44 of file attribute_storage_test.cc.
References blender::bke::AttributeStorage::add(), blender::bke::Corner, data, blender::bke::Attribute::data_for_write(), EXPECT_EQ(), blender::bke::Float, blender::ImplicitSharingPtr< T, IsStrong >::ImplicitSharingPtr(), blender::bke::AttributeStorage::lookup(), and TEST().
| blender::bke::tests::TEST | ( | attribute_storage | , |
| MoveConstruct | ) |
Definition at line 135 of file attribute_storage_test.cc.
References blender::bke::AttributeStorage::add(), blender::bke::Corner, data, EXPECT_EQ(), blender::bke::Float, blender::ImplicitSharingPtr< T, IsStrong >::ImplicitSharingPtr(), and TEST().
| blender::bke::tests::TEST | ( | attribute_storage | , |
| MultipleShared | ) |
Definition at line 79 of file attribute_storage_test.cc.
References blender::bke::AttributeStorage::add(), blender::bke::Corner, data, blender::bke::Attribute::data_for_write(), blender::bke::Edge, EXPECT_EQ(), blender::bke::Face, blender::bke::Float, blender::bke::AttributeStorage::foreach(), blender::ImplicitSharingPtr< T, IsStrong >::ImplicitSharingPtr(), blender::bke::AttributeStorage::lookup(), blender::bke::Point, and TEST().
| blender::bke::tests::TEST | ( | attribute_storage | , |
| Single | ) |
Definition at line 20 of file attribute_storage_test.cc.
References blender::bke::AttributeStorage::add(), blender::bke::Corner, blender::bke::Attribute::data(), data, blender::bke::Attribute::data_type(), blender::bke::Attribute::domain(), EXPECT_EQ(), blender::bke::Float, blender::bke::AttributeStorage::foreach(), blender::ImplicitSharingPtr< T, IsStrong >::ImplicitSharingPtr(), blender::bke::AttributeStorage::lookup(), and TEST().
| blender::bke::tests::TEST | ( | attribute_storage | , |
| UniqueNames | ) |
Definition at line 158 of file attribute_storage_test.cc.
References blender::bke::AttributeStorage::add(), blender::bke::Corner, data, blender::bke::Edge, EXPECT_EQ(), blender::bke::Face, blender::bke::Float, blender::bke::AttributeStorage::foreach(), blender::ImplicitSharingPtr< T, IsStrong >::ImplicitSharingPtr(), blender::bke::Point, TEST(), and blender::bke::AttributeStorage::unique_name_calc().
| blender::bke::tests::TEST | ( | BKE_fcurve | , |
| BKE_fcurve_calc_bounds | ) |
Definition at line 483 of file fcurve_test.cc.
References FCurve::bezt, BKE_fcurve_calc_bounds(), BKE_fcurve_create(), BKE_fcurve_free(), BezTriple::f1, BezTriple::f2, BezTriple::f3, fcurve_samplingcb_evalcurve(), fcurve_store_samples(), blender::animrig::get_keyframe_settings(), i, blender::animrig::insert_vert_fcurve(), INSERTKEY_NOFLAGS, SELECT, TEST(), FCurve::totvert, and BezTriple::vec.
| blender::bke::tests::TEST | ( | BKE_fcurve | , |
| BKE_fcurve_calc_range | ) |
Definition at line 430 of file fcurve_test.cc.
References FCurve::bezt, BKE_fcurve_calc_range(), BKE_fcurve_create(), BKE_fcurve_free(), BezTriple::f1, BezTriple::f2, BezTriple::f3, fcurve_samplingcb_evalcurve(), fcurve_store_samples(), blender::animrig::get_keyframe_settings(), i, blender::animrig::insert_vert_fcurve(), INSERTKEY_NOFLAGS, max, min, SELECT, TEST(), FCurve::totvert, and BezTriple::vec.
| blender::bke::tests::TEST | ( | BKE_fcurve | , |
| BKE_fcurve_deduplicate_keys | ) |
Definition at line 686 of file fcurve_test.cc.
References FCurve::bezt, BKE_fcurve_deduplicate_keys(), BKE_fcurve_free(), e, EXPECT_EQ(), sort_time_fcurve(), TEST(), testcurve_with_duplicates(), FCurve::totvert, and BezTriple::vec.
| blender::bke::tests::TEST | ( | BKE_fcurve | , |
| BKE_fcurve_deduplicate_keys_edge_cases | ) |
Definition at line 705 of file fcurve_test.cc.
References FCurve::bezt, BKE_fcurve_deduplicate_keys(), BKE_fcurve_free(), e, set_key(), sort_time_fcurve(), TEST(), testcurve_with_duplicates(), FCurve::totvert, and BezTriple::vec.
| blender::bke::tests::TEST | ( | BKE_fcurve | , |
| BKE_fcurve_deduplicate_keys_prefer_whole_frames | ) |
Definition at line 728 of file fcurve_test.cc.
References FCurve::bezt, BEZT_BINARYSEARCH_THRESH, BKE_fcurve_deduplicate_keys(), BKE_fcurve_free(), e, set_key(), sort_time_fcurve(), TEST(), testcurve_with_duplicates(), FCurve::totvert, and BezTriple::vec.
| blender::bke::tests::TEST | ( | BKE_fcurve | , |
| BKE_fcurve_keyframe_move_time_with_handles | ) |
Definition at line 398 of file fcurve_test.cc.
References FCurve::bezt, BKE_fcurve_create(), BKE_fcurve_free(), BKE_fcurve_keyframe_move_time_with_handles(), blender::animrig::get_keyframe_settings(), blender::animrig::insert_vert_fcurve(), INSERTKEY_NOFLAGS, TEST(), and BezTriple::vec.
| blender::bke::tests::TEST | ( | BKE_fcurve | , |
| BKE_fcurve_keyframe_move_value_with_handles | ) |
Definition at line 366 of file fcurve_test.cc.
References FCurve::bezt, BKE_fcurve_create(), BKE_fcurve_free(), BKE_fcurve_keyframe_move_value_with_handles(), blender::animrig::get_keyframe_settings(), blender::animrig::insert_vert_fcurve(), INSERTKEY_NOFLAGS, TEST(), and BezTriple::vec.
| blender::bke::tests::TEST | ( | BKE_fcurve | , |
| sort_time_fcurve_stability | ) |
Definition at line 662 of file fcurve_test.cc.
References FCurve::bezt, BEZT_BINARYSEARCH_THRESH, BKE_fcurve_free(), e, sort_time_fcurve(), TEST(), testcurve_with_duplicates(), FCurve::totvert, and BezTriple::vec.
| blender::bke::tests::TEST | ( | curves_geometry | , |
| BezierGenericEvaluation | ) |
Definition at line 407 of file curves_geometry_test.cc.
References blender::Array< T, InlineBufferCapacity, Allocator >::as_mutable_span(), blender::Array< T, InlineBufferCapacity, Allocator >::as_span(), CURVE_TYPE_BEZIER, blender::MutableSpan< T >::first(), i, blender::Array< T, InlineBufferCapacity, Allocator >::index_range(), blender::Span< T >::index_range(), blender::MutableSpan< T >::last(), and TEST().
| blender::bke::tests::TEST | ( | curves_geometry | , |
| BezierPositionEvaluation | ) |
Definition at line 233 of file curves_geometry_test.cc.
References CURVE_TYPE_BEZIER, EXPECT_EQ(), blender::MutableSpan< T >::first(), i, blender::Span< T >::index_range(), blender::MutableSpan< T >::last(), blender::Span< T >::size(), and TEST().
| blender::bke::tests::TEST | ( | curves_geometry | , |
| CatmullRomEvaluation | ) |
Definition at line 88 of file curves_geometry_test.cc.
References CURVE_TYPE_CATMULL_ROM, blender::Span< T >::data(), EXPECT_EQ(), i, blender::Span< T >::index_range(), TEST(), x, and y.
| blender::bke::tests::TEST | ( | curves_geometry | , |
| CatmullRomTwoPointCyclic | ) |
Definition at line 221 of file curves_geometry_test.cc.
References CURVE_TYPE_CATMULL_ROM, EXPECT_EQ(), and TEST().
| blender::bke::tests::TEST | ( | curves_geometry | , |
| Empty | ) |
Definition at line 32 of file curves_geometry_test.cc.
References blender::bke::CurvesGeometry::bounds_min_max(), blender::bke::CurvesGeometry::cyclic(), blender::bke::CurvesGeometry::is_empty(), and TEST().
| blender::bke::tests::TEST | ( | curves_geometry | , |
| Move | ) |
Definition at line 40 of file curves_geometry_test.cc.
References blender::bke::CurvesGeometry::bounds_min_max(), create_basic_curves(), Span< T >::data(), EXPECT_EQ(), blender::bke::CurvesGeometry::offsets(), blender::bke::CurvesGeometry::positions(), and TEST().
| blender::bke::tests::TEST | ( | curves_geometry | , |
| NURBSEvaluation | ) |
Definition at line 317 of file curves_geometry_test.cc.
References CURVE_TYPE_NURBS, i, blender::Span< T >::index_range(), and TEST().
| blender::bke::tests::TEST | ( | curves_geometry | , |
| TypeCount | ) |
Definition at line 65 of file curves_geometry_test.cc.
References create_basic_curves(), CURVE_TYPE_BEZIER, CURVE_TYPE_CATMULL_ROM, CURVE_TYPE_NURBS, CURVE_TYPE_POLY, EXPECT_EQ(), and TEST().
| blender::bke::tests::TEST | ( | evaluate_fcurve | , |
| EmptyFCurve | ) |
Definition at line 22 of file fcurve_test.cc.
References BKE_fcurve_create(), BKE_fcurve_free(), evaluate_fcurve(), EXPECT_EQ(), and TEST().
| blender::bke::tests::TEST | ( | evaluate_fcurve | , |
| ExtrapolationBezierKeys | ) |
Definition at line 194 of file fcurve_test.cc.
References FCurve::bezt, BKE_fcurve_create(), BKE_fcurve_free(), EPSILON, evaluate_fcurve(), EXPECT_EQ(), FCurve::extend, FCURVE_EXTRAPOLATE_CONSTANT, FCURVE_EXTRAPOLATE_LINEAR, blender::animrig::get_keyframe_settings(), blender::animrig::insert_vert_fcurve(), INSERTKEY_NOFLAGS, TEST(), and BezTriple::vec.
| blender::bke::tests::TEST | ( | evaluate_fcurve | , |
| ExtrapolationLinearKeys | ) |
Definition at line 159 of file fcurve_test.cc.
References FCurve::bezt, BEZT_IPO_LIN, BKE_fcurve_create(), BKE_fcurve_free(), EPSILON, evaluate_fcurve(), EXPECT_EQ(), FCurve::extend, FCURVE_EXTRAPOLATE_CONSTANT, FCURVE_EXTRAPOLATE_LINEAR, blender::animrig::get_keyframe_settings(), blender::animrig::insert_vert_fcurve(), INSERTKEY_NOFLAGS, BezTriple::ipo, TEST(), and BezTriple::vec.
| blender::bke::tests::TEST | ( | evaluate_fcurve | , |
| InterpolationBezier | ) |
Definition at line 96 of file fcurve_test.cc.
References FCurve::bezt, BEZT_IPO_BEZ, BKE_fcurve_create(), BKE_fcurve_free(), EPSILON, evaluate_fcurve(), EXPECT_EQ(), blender::animrig::get_keyframe_settings(), blender::animrig::insert_vert_fcurve(), INSERTKEY_NOFLAGS, BezTriple::ipo, TEST(), and BezTriple::vec.
| blender::bke::tests::TEST | ( | evaluate_fcurve | , |
| InterpolationBounce | ) |
Definition at line 134 of file fcurve_test.cc.
References FCurve::bezt, BEZT_IPO_BOUNCE, BEZT_IPO_EASE_AUTO, BEZT_IPO_EASE_IN, BKE_fcurve_create(), BKE_fcurve_free(), BezTriple::easing, EPSILON, evaluate_fcurve(), EXPECT_EQ(), blender::animrig::get_keyframe_settings(), blender::animrig::insert_vert_fcurve(), INSERTKEY_NOFLAGS, BezTriple::ipo, TEST(), and BezTriple::vec.
| blender::bke::tests::TEST | ( | evaluate_fcurve | , |
| InterpolationConstant | ) |
Definition at line 53 of file fcurve_test.cc.
References FCurve::bezt, BEZT_IPO_CONST, BKE_fcurve_create(), BKE_fcurve_free(), EPSILON, evaluate_fcurve(), EXPECT_EQ(), blender::animrig::get_keyframe_settings(), blender::animrig::insert_vert_fcurve(), INSERTKEY_NOFLAGS, BezTriple::ipo, TEST(), and BezTriple::vec.
| blender::bke::tests::TEST | ( | evaluate_fcurve | , |
| InterpolationLinear | ) |
Definition at line 74 of file fcurve_test.cc.
References FCurve::bezt, BEZT_IPO_LIN, BKE_fcurve_create(), BKE_fcurve_free(), EPSILON, evaluate_fcurve(), EXPECT_EQ(), blender::animrig::get_keyframe_settings(), blender::animrig::insert_vert_fcurve(), INSERTKEY_NOFLAGS, BezTriple::ipo, TEST(), and BezTriple::vec.
| blender::bke::tests::TEST | ( | evaluate_fcurve | , |
| OnKeys | ) |
Definition at line 29 of file fcurve_test.cc.
References BKE_fcurve_create(), BKE_fcurve_free(), EPSILON, evaluate_fcurve(), blender::animrig::get_keyframe_settings(), blender::animrig::insert_vert_fcurve(), INSERTKEY_NOFLAGS, and TEST().
| blender::bke::tests::TEST | ( | fcurve_active_keyframe | , |
| ActiveKeyframe | ) |
Definition at line 303 of file fcurve_test.cc.
References FCurve::active_keyframe_index, FCurve::bezt, BKE_fcurve_active_keyframe_index(), BKE_fcurve_active_keyframe_set(), BKE_fcurve_create(), BKE_fcurve_free(), EXPECT_EQ(), BezTriple::f1, BezTriple::f2, BezTriple::f3, FCURVE_ACTIVE_KEYFRAME_NONE, blender::animrig::get_keyframe_settings(), blender::animrig::insert_vert_fcurve(), INSERTKEY_NOFLAGS, SELECT, TEST(), FCurve::totvert, and BezTriple::vec.
| blender::bke::tests::TEST | ( | fcurve_subdivide | , |
| BKE_fcurve_bezt_subdivide_handles | ) |
Definition at line 235 of file fcurve_test.cc.
References FCurve::bezt, BEZT_IPO_BEZ, BKE_fcurve_bezt_subdivide_handles(), BKE_fcurve_create(), BKE_fcurve_free(), EXPECT_EQ(), blender::animrig::get_keyframe_settings(), BezTriple::h1, BezTriple::h2, HD_AUTO_ANIM, HD_FREE, blender::animrig::insert_vert_fcurve(), INSERTKEY_NOFLAGS, BezTriple::ipo, TEST(), BezTriple::vec, x, and y.
| blender::bke::tests::TEST | ( | file_handler | , |
| add | ) |
Definition at line 39 of file file_handler_test.cc.
References file_handler_add_test(), and TEST().
| blender::bke::tests::TEST | ( | file_handler | , |
| find | ) |
Definition at line 55 of file file_handler_test.cc.
References EXPECT_EQ(), blender::bke::file_handler_find(), blender::bke::file_handlers(), MAX_FILE_HANDLERS_TEST_SIZE, TEST(), and test_file_handlers.
| blender::bke::tests::TEST | ( | file_handler | , |
| remove | ) |
FileHandlerType pointer in test_file_handlers[1] is not longer valid.
FileHandlerType pointer in test_file_handlers[7] is not longer valid.
Definition at line 70 of file file_handler_test.cc.
References EXPECT_EQ(), blender::bke::file_handler_find(), blender::bke::file_handler_remove(), blender::bke::file_handlers(), MAX_FILE_HANDLERS_TEST_SIZE, TEST(), and test_file_handlers.
| blender::bke::tests::TEST | ( | knot_vector | , |
| KnotVectorBezierClampedCyclicUnevenDeg4 | ) |
Definition at line 615 of file curves_geometry_test.cc.
References blender::bke::curves::nurbs::calculate_knots(), blender::bke::curves::nurbs::calculate_multiplicity_sequence(), blender::Vector< T, InlineBufferCapacity, Allocator >::data(), data, i, blender::bke::curves::nurbs::knots_num(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), and TEST().
| blender::bke::tests::TEST | ( | knot_vector | , |
| KnotVectorBezierClampedDeg2 | ) |
| blender::bke::tests::TEST | ( | knot_vector | , |
| KnotVectorBezierClampedDeg4 | ) |
| blender::bke::tests::TEST | ( | knot_vector | , |
| KnotVectorBezierClampedSegmentDeg2 | ) |
| blender::bke::tests::TEST | ( | knot_vector | , |
| KnotVectorBezierClampedSegmentDeg4 | ) |
| blender::bke::tests::TEST | ( | knot_vector | , |
| KnotVectorBezierClampedUnevenDeg2 | ) |
| blender::bke::tests::TEST | ( | knot_vector | , |
| KnotVectorBezierClampedUnevenDeg4 | ) |
Definition at line 582 of file curves_geometry_test.cc.
References blender::bke::curves::nurbs::calculate_knots(), blender::bke::curves::nurbs::calculate_multiplicity_sequence(), blender::Vector< T, InlineBufferCapacity, Allocator >::data(), data, i, blender::bke::curves::nurbs::knots_num(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), and TEST().
| blender::bke::tests::TEST | ( | knot_vector | , |
| KnotVectorBezierCyclicUnevenDeg4 | ) |
Definition at line 694 of file curves_geometry_test.cc.
References blender::bke::curves::nurbs::calculate_knots(), blender::bke::curves::nurbs::calculate_multiplicity_sequence(), blender::Vector< T, InlineBufferCapacity, Allocator >::data(), data, i, blender::bke::curves::nurbs::knots_num(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), and TEST().
| blender::bke::tests::TEST | ( | knot_vector | , |
| KnotVectorBezierSegmentDeg2 | ) |
| blender::bke::tests::TEST | ( | knot_vector | , |
| KnotVectorBezierUnevenDeg2 | ) |
Definition at line 654 of file curves_geometry_test.cc.
References blender::bke::curves::nurbs::calculate_knots(), blender::bke::curves::nurbs::calculate_multiplicity_sequence(), blender::Vector< T, InlineBufferCapacity, Allocator >::data(), data, i, blender::bke::curves::nurbs::knots_num(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), and TEST().
| blender::bke::tests::TEST | ( | knot_vector | , |
| KnotVectorBezierUnevenDeg4 | ) |
Definition at line 673 of file curves_geometry_test.cc.
References blender::bke::curves::nurbs::calculate_knots(), blender::bke::curves::nurbs::calculate_multiplicity_sequence(), blender::Vector< T, InlineBufferCapacity, Allocator >::data(), data, i, blender::bke::curves::nurbs::knots_num(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), and TEST().
| blender::bke::tests::TEST | ( | knot_vector | , |
| KnotVectorCircleCyclicUnevenDeg2 | ) |
| blender::bke::tests::TEST | ( | knot_vector | , |
| KnotVectorUniform | ) |
| blender::bke::tests::TEST | ( | knot_vector | , |
| KnotVectorUniformClamped | ) |
| blender::bke::tests::TEST | ( | lib_id_main_global_unique_name | , |
| linked_ids_1 | ) |
Definition at line 313 of file lib_id_test.cc.
References BKE_id_new(), BKE_main_namemap_validate(), BLI_listbase_is_empty(), blender::bke::tests::LibIDMainSortTestContext::bmain, change_lib(), change_name(), change_name_global(), ListBase::first, ID_LI, ID_OB, id_sort_by_name(), ListBase::last, Main::libraries, ID::name, Main::name_map_global, Main::objects, RenameExistingNever, TEST(), and test_lib_id_main_sort_check_order().
| blender::bke::tests::TEST | ( | lib_id_main_sort | , |
| linked_ids_1 | ) |
Definition at line 76 of file lib_id_test.cc.
References BKE_id_new(), BKE_main_namemap_validate(), BLI_listbase_is_empty(), blender::bke::tests::LibIDMainSortTestContext::bmain, change_lib(), EXPECT_EQ(), ListBase::first, ID_LI, ID_OB, id_sort_by_name(), ListBase::last, Main::libraries, Main::name_map_global, Main::objects, TEST(), and test_lib_id_main_sort_check_order().
| blender::bke::tests::TEST | ( | lib_id_main_sort | , |
| local_ids_1 | ) |
Definition at line 46 of file lib_id_test.cc.
References BKE_id_new(), BLI_listbase_is_empty(), blender::bke::tests::LibIDMainSortTestContext::bmain, EXPECT_EQ(), ListBase::first, ID_OB, ListBase::last, Main::libraries, Main::name_map_global, Main::objects, TEST(), and test_lib_id_main_sort_check_order().
| blender::bke::tests::TEST | ( | lib_id_main_unique_name | , |
| create_equivalent_numeric_suffixes | ) |
Definition at line 435 of file lib_id_test.cc.
References BKE_id_new(), BKE_main_namemap_validate(), blender::bke::tests::LibIDMainSortTestContext::bmain, EXPECT_EQ(), ID_OB, ID::name, Main::name_map_global, and TEST().
| blender::bke::tests::TEST | ( | lib_id_main_unique_name | , |
| ids_sorted_by_default | ) |
Definition at line 368 of file lib_id_test.cc.
References BKE_id_new(), BKE_main_namemap_validate(), blender::bke::tests::LibIDMainSortTestContext::bmain, EXPECT_EQ(), ID_OB, Main::name_map_global, TEST(), and test_lib_id_main_sort_check_order().
| blender::bke::tests::TEST | ( | lib_id_main_unique_name | , |
| ids_sorted_by_default_with_libraries | ) |
Definition at line 391 of file lib_id_test.cc.
References add_id_in_library(), BKE_id_new(), BKE_main_namemap_validate(), blender::bke::tests::LibIDMainSortTestContext::bmain, EXPECT_EQ(), ID_LI, ID_OB, Main::name_map_global, TEST(), and test_lib_id_main_sort_check_order().
| blender::bke::tests::TEST | ( | lib_id_main_unique_name | , |
| linked_ids_1 | ) |
Definition at line 262 of file lib_id_test.cc.
References BKE_id_new(), BKE_main_namemap_validate(), BLI_listbase_is_empty(), blender::bke::tests::LibIDMainSortTestContext::bmain, change_lib(), change_name(), EXPECT_EQ(), ListBase::first, ID_LI, ID_OB, id_sort_by_name(), ListBase::last, Main::libraries, ID::name, Main::name_map_global, Main::objects, RenameExistingNever, TEST(), and test_lib_id_main_sort_check_order().
| blender::bke::tests::TEST | ( | lib_id_main_unique_name | , |
| local_ids_rename_existing_always | ) |
Definition at line 175 of file lib_id_test.cc.
References BKE_id_new(), BKE_main_namemap_validate(), BLI_listbase_is_empty(), blender::bke::tests::LibIDMainSortTestContext::bmain, change_name(), EXPECT_EQ(), ListBase::first, ID_OB, ListBase::last, Main::libraries, ID::name, Main::name_map_global, Main::objects, IDNewNameResult::RENAMED_COLLISION_FORCED, RenameExistingAlways, result, TEST(), and test_lib_id_main_sort_check_order().
| blender::bke::tests::TEST | ( | lib_id_main_unique_name | , |
| local_ids_rename_existing_never | ) |
Definition at line 112 of file lib_id_test.cc.
References BKE_id_new(), BKE_main_namemap_get_unique_name(), BKE_main_namemap_validate(), BLI_listbase_is_empty(), blender::bke::tests::LibIDMainSortTestContext::bmain, change_name(), EXPECT_EQ(), ListBase::first, ID_OB, ListBase::last, Main::libraries, MAX_ID_NAME, ID::name, Main::name_map_global, Main::objects, IDNewNameResult::RENAMED_COLLISION_ADJUSTED, RenameExistingNever, result, STRNCPY(), TEST(), test_lib_id_main_sort_check_order(), and IDNewNameResult::UNCHANGED_COLLISION.
| blender::bke::tests::TEST | ( | lib_id_main_unique_name | , |
| local_ids_rename_existing_same_root | ) |
Definition at line 218 of file lib_id_test.cc.
References BKE_id_new(), BKE_main_namemap_validate(), BLI_listbase_is_empty(), blender::bke::tests::LibIDMainSortTestContext::bmain, change_name(), EXPECT_EQ(), ListBase::first, ID_OB, ListBase::last, Main::libraries, ID::name, Main::name_map_global, Main::objects, IDNewNameResult::RENAMED_COLLISION_ADJUSTED, IDNewNameResult::RENAMED_COLLISION_FORCED, RenameExistingSameRoot, result, TEST(), and test_lib_id_main_sort_check_order().
| blender::bke::tests::TEST | ( | lib_id_main_unique_name | , |
| name_huge_number_suffix | ) |
Definition at line 721 of file lib_id_test.cc.
References BKE_id_new(), BKE_main_namemap_validate(), blender::bke::tests::LibIDMainSortTestContext::bmain, EXPECT_EQ(), ID_OB, ID::name, Main::name_map_global, and TEST().
| blender::bke::tests::TEST | ( | lib_id_main_unique_name | , |
| name_number_suffix_assignment | ) |
Definition at line 587 of file lib_id_test.cc.
References BKE_id_free(), BKE_id_name(), BKE_id_new(), BKE_main_namemap_validate(), blender::bke::tests::LibIDMainSortTestContext::bmain, EXPECT_EQ(), i, ID_OB, ID::name, Main::name_map_global, and TEST().
| blender::bke::tests::TEST | ( | lib_id_main_unique_name | , |
| name_too_long_handling | ) |
Definition at line 415 of file lib_id_test.cc.
References BKE_id_new(), BKE_main_namemap_validate(), blender::bke::tests::LibIDMainSortTestContext::bmain, EXPECT_EQ(), ID_OB, ID::name, Main::name_map_global, and TEST().
| blender::bke::tests::TEST | ( | lib_id_main_unique_name | , |
| names_are_unique_per_id_type | ) |
Definition at line 704 of file lib_id_test.cc.
References BKE_id_new(), BKE_main_namemap_validate(), blender::bke::tests::LibIDMainSortTestContext::bmain, EXPECT_EQ(), ID_CA, ID_OB, ID::name, Main::name_map_global, and TEST().
| blender::bke::tests::TEST | ( | lib_id_main_unique_name | , |
| re_create_equivalent_numeric_suffixes | ) |
Definition at line 498 of file lib_id_test.cc.
References BKE_id_delete(), BKE_id_name(), BKE_id_new(), BKE_main_namemap_validate(), blender::bke::tests::LibIDMainSortTestContext::bmain, EXPECT_EQ(), ID_OB, Main::name_map_global, and TEST().
| blender::bke::tests::TEST | ( | lib_id_main_unique_name | , |
| remove_after_dup_get_original_name | ) |
Definition at line 566 of file lib_id_test.cc.
References BKE_id_free(), BKE_id_new(), BKE_main_namemap_validate(), blender::bke::tests::LibIDMainSortTestContext::bmain, EXPECT_EQ(), ID_OB, ID::name, Main::name_map_global, and TEST().
| blender::bke::tests::TEST | ( | lib_id_main_unique_name | , |
| renames_with_duplicates | ) |
Definition at line 676 of file lib_id_test.cc.
References BKE_id_new(), BKE_libblock_rename(), BKE_main_namemap_validate(), blender::bke::tests::LibIDMainSortTestContext::bmain, EXPECT_EQ(), ID_OB, ID::name, Main::name_map_global, and TEST().
| blender::bke::tests::TEST | ( | lib_id_main_unique_name | , |
| zero_suffix_is_never_assigned | ) |
Definition at line 547 of file lib_id_test.cc.
References BKE_id_new(), BKE_main_namemap_validate(), blender::bke::tests::LibIDMainSortTestContext::bmain, EXPECT_EQ(), ID_OB, ID::name, Main::name_map_global, and TEST().
| blender::bke::tests::TEST | ( | lib_id_make_local | , |
| brush | ) |
Definition at line 738 of file lib_id_test.cc.
References BKE_id_new(), BKE_lib_id_make_local(), blender::bke::tests::LibIDMainSortTestContext::bmain, change_lib(), EXPECT_EQ(), ID::flag, ID_BR, ID_FLAG_FAKEUSER, ID_LI, LIB_ID_MAKELOCAL_FORCE_COPY, ID::newid, TEST(), and ID::us.
| blender::bke::tests::TEST | ( | mat3_vec_to_roll | , |
| Rotationmatrix | ) |
Definition at line 82 of file armature_test.cc.
References eul_to_mat3(), FLOAT_EPSILON, mat3_vec_to_roll(), and TEST().
| blender::bke::tests::TEST | ( | mat3_vec_to_roll | , |
| UnitMatrix | ) |
Definition at line 52 of file armature_test.cc.
References FLOAT_EPSILON, mat3_vec_to_roll(), normalize_v3(), TEST(), and unit_m3().
| blender::bke::tests::TEST | ( | nla_strip | , |
| BKE_nla_clip_length_ensure_nonzero | ) |
Definition at line 87 of file blenkernel/intern/nla_test.cc.
References BKE_nla_clip_length_ensure_nonzero(), and TEST().
| blender::bke::tests::TEST | ( | nla_strip | , |
| BKE_nla_clip_length_get_nonzero | ) |
Definition at line 66 of file blenkernel/intern/nla_test.cc.
References NlaStrip::actend, NlaStrip::actstart, BKE_nla_clip_length_get_nonzero(), and TEST().
| blender::bke::tests::TEST | ( | nla_strip | , |
| BKE_nlastrip_recalculate_blend | ) |
Definition at line 15 of file blenkernel/intern/nla_test.cc.
References BKE_nlastrip_recalculate_blend(), NlaStrip::blendin, NlaStrip::blendout, NlaStrip::end, NlaStrip::start, and TEST().
| blender::bke::tests::TEST | ( | nla_strip | , |
| BKE_nlastrips_add_strip | ) |
Definition at line 42 of file blenkernel/intern/nla_test.cc.
References BKE_nlastrips_add_strip(), NlaStrip::end, ListBase::first, NlaStrip::start, and TEST().
| blender::bke::tests::TEST | ( | nla_track | , |
| BKE_nlatrack_new_head | ) |
Definition at line 176 of file blenkernel/intern/nla_test.cc.
References BKE_nlatrack_new_head(), BKE_nlatrack_remove_and_free(), BLI_findindex(), EXPECT_EQ(), AnimData::nla_tracks, and TEST().
| blender::bke::tests::TEST | ( | nla_track | , |
| BKE_nlatrack_new_tail | ) |
Definition at line 161 of file blenkernel/intern/nla_test.cc.
References BKE_nlatrack_new_tail(), BKE_nlatrack_remove_and_free(), BLI_findindex(), EXPECT_EQ(), AnimData::nla_tracks, and TEST().
| blender::bke::tests::TEST | ( | nla_track | , |
| BKE_nlatrack_remove_and_free | ) |
Definition at line 138 of file blenkernel/intern/nla_test.cc.
References BKE_nlatrack_new_tail(), BKE_nlatrack_remove_and_free(), BLI_findindex(), BLI_listbase_count(), EXPECT_EQ(), AnimData::nla_tracks, and TEST().
| blender::bke::tests::TEST | ( | nla_track | , |
| BKE_nlatrack_remove_strip | ) |
Definition at line 112 of file blenkernel/intern/nla_test.cc.
References BKE_nlastrips_add_strip(), BKE_nlatrack_remove_strip(), BLI_findindex(), BLI_listbase_count(), NlaStrip::end, EXPECT_EQ(), NlaStrip::start, NlaTrack::strips, and TEST().
| blender::bke::tests::TEST | ( | path_templates | , |
| validate_and_apply_template | ) |
Definition at line 134 of file path_templates_test.cc.
References blender::bke::path_templates::VariableMap::add_float(), blender::bke::path_templates::VariableMap::add_integer(), blender::bke::path_templates::VariableMap::add_string(), BKE_path_apply_template(), BKE_path_validate_template(), BLI_strncpy(), errors_to_string(), EXPECT_EQ(), FILE_MAX, blender::bke::path_templates::FORMAT_SPECIFIER, blender::IndexRange::IndexRange(), TEST(), blender::bke::path_templates::UNKNOWN_VARIABLE, and blender::bke::path_templates::VARIABLE_SYNTAX.
| blender::bke::tests::TEST | ( | path_templates | , |
| VariableMap | ) |
Definition at line 63 of file path_templates_test.cc.
References blender::bke::path_templates::VariableMap::add_float(), blender::bke::path_templates::VariableMap::add_integer(), blender::bke::path_templates::VariableMap::add_string(), blender::bke::path_templates::VariableMap::contains(), EXPECT_EQ(), blender::bke::path_templates::VariableMap::get_float(), blender::bke::path_templates::VariableMap::get_integer(), blender::bke::path_templates::VariableMap::get_string(), blender::bke::path_templates::VariableMap::remove(), and TEST().
| blender::bke::tests::TEST | ( | subdiv_ccg_coord | , |
| constructor | ) |
Definition at line 37 of file subdiv_ccg_test.cc.
References BKE_ccg_gridsize(), CCGKey::elem_size, EXPECT_EQ(), SubdivCCGCoord::from_index(), CCGKey::grid_area, CCGKey::grid_bytes, SubdivCCGCoord::grid_index, CCGKey::grid_size, CCGKey::has_mask, CCGKey::has_normals, CCGKey::level, CCGKey::mask_offset, CCGKey::normal_offset, TEST(), SubdivCCGCoord::x, and SubdivCCGCoord::y.
| blender::bke::tests::TEST | ( | subdiv_ccg_coord | , |
| to_index | ) |
Definition at line 11 of file subdiv_ccg_test.cc.
References BKE_ccg_gridsize(), CCGKey::elem_size, EXPECT_EQ(), CCGKey::grid_area, CCGKey::grid_bytes, SubdivCCGCoord::grid_index, CCGKey::grid_size, CCGKey::has_mask, CCGKey::has_normals, CCGKey::level, CCGKey::mask_offset, CCGKey::normal_offset, TEST(), SubdivCCGCoord::to_index(), SubdivCCGCoord::x, and SubdivCCGCoord::y.
| blender::bke::tests::TEST | ( | udim | , |
| image_ensure_tile_token | ) |
Definition at line 36 of file source/blender/blenkernel/intern/image_test.cc.
References BKE_image_ensure_tile_token_filename_only(), FILE_MAX, result, STRNCPY(), and TEST().
| blender::bke::tests::TEST | ( | udim | , |
| image_get_tile_number_from_filepath | ) |
Definition at line 129 of file source/blender/blenkernel/intern/image_test.cc.
References BKE_image_get_tile_number_from_filepath(), BKE_image_get_tile_strformat(), EXPECT_EQ(), MEM_freeN(), TEST(), UDIM_TILE_FORMAT_NONE, UDIM_TILE_FORMAT_UDIM, and UDIM_TILE_FORMAT_UVTILE.
| blender::bke::tests::TEST | ( | udim | , |
| image_get_tile_strformat | ) |
Definition at line 97 of file source/blender/blenkernel/intern/image_test.cc.
References BKE_image_get_tile_strformat(), EXPECT_EQ(), MEM_freeN(), TEST(), UDIM_TILE_FORMAT_NONE, UDIM_TILE_FORMAT_UDIM, and UDIM_TILE_FORMAT_UVTILE.
| blender::bke::tests::TEST | ( | udim | , |
| image_set_filepath_from_tile_number | ) |
Definition at line 184 of file source/blender/blenkernel/intern/image_test.cc.
References BKE_image_get_tile_strformat(), BKE_image_set_filepath_from_tile_number(), EXPECT_EQ(), FILE_MAX, MEM_freeN(), STRNCPY(), TEST(), UDIM_TILE_FORMAT_NONE, UDIM_TILE_FORMAT_UDIM, and UDIM_TILE_FORMAT_UVTILE.
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| Flipped1 | ) |
Definition at line 186 of file armature_test.cc.
References input, TEST(), test_vec_roll_to_mat3_normalized(), and vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| Flipped2 | ) |
Definition at line 195 of file armature_test.cc.
References e, input, TEST(), test_vec_roll_to_mat3_normalized(), and vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| Flipped3 | ) |
Definition at line 206 of file armature_test.cc.
References input, TEST(), test_vec_roll_to_mat3_normalized(), and vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| FlippedBoundary1 | ) |
Definition at line 175 of file armature_test.cc.
References find_flip_boundary(), TEST(), and vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| FlippedBoundary2 | ) |
Definition at line 180 of file armature_test.cc.
References find_flip_boundary(), TEST(), and vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| Generic1 | ) |
Definition at line 250 of file armature_test.cc.
References input, TEST(), test_vec_roll_to_mat3_normalized(), and vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| Generic2 | ) |
Definition at line 259 of file armature_test.cc.
References input, TEST(), test_vec_roll_to_mat3_normalized(), and vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| Generic3 | ) |
Definition at line 268 of file armature_test.cc.
References input, TEST(), test_vec_roll_to_mat3_normalized(), and vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| Generic4 | ) |
Definition at line 277 of file armature_test.cc.
References input, TEST(), test_vec_roll_to_mat3_normalized(), and vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| Roll1 | ) |
Definition at line 287 of file armature_test.cc.
References input, M_PI_2, TEST(), test_vec_roll_to_mat3_normalized(), and vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| Rotate90_X_CCW | ) |
Definition at line 241 of file armature_test.cc.
References input, TEST(), test_vec_roll_to_mat3_normalized(), and vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| Rotate90_X_CW | ) |
Definition at line 233 of file armature_test.cc.
References input, TEST(), test_vec_roll_to_mat3_normalized(), and vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| Rotate90_Z_CCW | ) |
Definition at line 225 of file armature_test.cc.
References input, TEST(), test_vec_roll_to_mat3_normalized(), and vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| Rotate90_Z_CW | ) |
Definition at line 217 of file armature_test.cc.
References input, TEST(), test_vec_roll_to_mat3_normalized(), and vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | view_layer | , |
| aov_conflict | ) |
Definition at line 116 of file layer_test.cc.
References ViewLayer::active_aov, AOV_CONFLICT, BKE_appdir_exit(), BKE_appdir_init(), BKE_view_layer_add_aov(), BKE_view_layer_has_valid_aov(), BKE_view_layer_verify_aov(), CLG_exit(), CLG_init(), RenderData::engine, EXPECT_EQ(), ListBase::first, ViewLayerAOV::flag, IDTypeInfo::free_data, Scene::id, IDType_ID_SCE, IMB_exit(), IMB_init(), IDTypeInfo::init_data, Scene::r, RE_engine_create(), RE_engine_free(), RE_engines_exit(), RE_engines_find(), RE_engines_init(), TEST(), test_render_pass_conflict(), and Scene::view_layers.
| blender::bke::tests::TEST | ( | view_layer | , |
| aov_unique_names | ) |
Definition at line 23 of file layer_test.cc.
References ViewLayer::active_aov, AOV_CONFLICT, BKE_appdir_exit(), BKE_appdir_init(), BKE_idtype_init(), BKE_view_layer_add_aov(), BKE_view_layer_has_valid_aov(), BKE_view_layer_remove_aov(), BKE_view_layer_verify_aov(), CLG_exit(), CLG_init(), RenderData::engine, EXPECT_EQ(), ListBase::first, ViewLayerAOV::flag, IDTypeInfo::free_data, Scene::id, IDType_ID_SCE, IMB_exit(), IMB_init(), IDTypeInfo::init_data, ViewLayerAOV::name, Scene::r, RE_engine_create(), RE_engine_free(), RE_engines_exit(), RE_engines_find(), RE_engines_init(), STREQ, STRNCPY(), TEST(), and Scene::view_layers.
| blender::bke::tests::TEST_F | ( | BKE_armature_find_selected_bones_test | , |
| all_bones_selected | ) |
Definition at line 405 of file armature_test.cc.
References blender::bke::BKE_armature_find_selected_bones(), BONE_SELECTED, EXPECT_EQ(), result, and TEST_F().
| blender::bke::tests::TEST_F | ( | BKE_armature_find_selected_bones_test | , |
| no_bones_selected | ) |
Definition at line 391 of file armature_test.cc.
References blender::bke::BKE_armature_find_selected_bones(), result, and TEST_F().
| blender::bke::tests::TEST_F | ( | BKE_armature_find_selected_bones_test | , |
| some_bones_selected | ) |
Definition at line 372 of file armature_test.cc.
References blender::bke::BKE_armature_find_selected_bones(), BONE_SELECTED, EXPECT_EQ(), result, and TEST_F().
Referenced by TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
| blender::bke::tests::TEST_F | ( | BMainMergeTest | , |
| basics | ) |
Definition at line 59 of file main_test.cc.
References BKE_collection_object_add(), BKE_id_new(), BKE_main_merge(), BKE_main_new(), BLI_listbase_count(), BLI_listbase_is_empty(), EXPECT_EQ(), ListBase::first, Collection::gobject, ID_GR, CollectionObject::ob, reports, and TEST_F().
| blender::bke::tests::TEST_F | ( | BMainMergeTest | , |
| linked_data | ) |
Definition at line 119 of file main_test.cc.
References ABS_ROOT, BKE_collection_object_add(), BKE_id_new(), BKE_id_new_in_lib(), BKE_library_filepath_set(), BKE_main_merge(), BKE_main_new(), BLI_listbase_count(), BLI_listbase_is_empty(), EXPECT_EQ(), Library::filepath, Object::id, ID_GR, ID_OB, ID::lib, reports, Library::runtime, SEP_STR, STREQ, STRNCPY(), and TEST_F().
| blender::bke::tests::TEST_F | ( | BMainNameMapTest | , |
| global_map_uniqueness | ) |
Definition at line 59 of file main_namemap_test.cc.
References BKE_id_name(), BKE_id_new(), BKE_id_new_in_lib(), BKE_main_global_namemap_get_unique_name(), BKE_main_namemap_remove_id(), BLI_listbase_is_empty(), GS, Collection::id, Library::id, Object::id, ID_OB, id_sort_by_name(), ID::name, TEST_F(), and which_libbase().
| blender::bke::tests::TEST_F | ( | BPathTest | , |
| convert_to_absolute | ) |
Definition at line 124 of file bpath_test.cc.
References BASE_DIR, BKE_bpath_absolute_convert(), BLI_strdup(), MovieClip::filepath, Text::filepath, MOVIECLIP_PATH_ABSOLUTE, STRNCPY(), TEST_F(), TEXT_PATH_RELATIVE, and TEXT_PATH_RELATIVE_MADE_ABSOLUTE.
| blender::bke::tests::TEST_F | ( | BPathTest | , |
| convert_to_relative | ) |
Definition at line 108 of file bpath_test.cc.
References BASE_DIR, BKE_bpath_relative_convert(), BLI_strdup(), MovieClip::filepath, Text::filepath, MOVIECLIP_PATH_ABSOLUTE, MOVIECLIP_PATH_ABSOLUTE_MADE_RELATIVE, STRNCPY(), TEST_F(), and TEXT_PATH_RELATIVE.
| blender::bke::tests::TEST_F | ( | BPathTest | , |
| list_backup_restore | ) |
Definition at line 140 of file bpath_test.cc.
References BKE_bpath_list_backup(), BKE_bpath_list_free(), BKE_bpath_list_restore(), BLI_listbase_count(), BLI_strdup(), EXPECT_EQ(), MovieClip::filepath, Text::filepath, MEM_freeN(), MOVIECLIP_PATH_ABSOLUTE, MOVIECLIP_PATH_RELATIVE, STRNCPY(), TEST_F(), TEXT_PATH_ABSOLUTE, and TEXT_PATH_RELATIVE.
| blender::bke::tests::TEST_F | ( | BPathTest | , |
| rebase_on_absolute | ) |
Definition at line 93 of file bpath_test.cc.
References BASE_DIR, BKE_bpath_relative_rebase(), BLI_strdup(), MovieClip::filepath, Text::filepath, MOVIECLIP_PATH_ABSOLUTE, REBASE_DIR, STRNCPY(), TEST_F(), and TEXT_PATH_ABSOLUTE.
| blender::bke::tests::TEST_F | ( | BPathTest | , |
| rebase_on_relative | ) |
Definition at line 78 of file bpath_test.cc.
References BASE_DIR, BKE_bpath_relative_rebase(), BLI_strdup(), MovieClip::filepath, Text::filepath, MOVIECLIP_PATH_ITEM, MOVIECLIP_PATH_RELATIVE, REBASE_DIR, RELATIVE_ROOT, SEP_STR, STRNCPY(), TEST_F(), TEXT_PATH_ITEM, and TEXT_PATH_RELATIVE.
| blender::bke::tests::TEST_F | ( | GreasePencilInterpolate | , |
| sample_curve_empty_output | ) |
Definition at line 115 of file GEO_interpolate_curves_test.cc.
References TEST_F().
| blender::bke::tests::TEST_F | ( | GreasePencilInterpolate | , |
| sample_curve_longer | ) |
Definition at line 182 of file GEO_interpolate_curves_test.cc.
References TEST_F().
| blender::bke::tests::TEST_F | ( | GreasePencilInterpolate | , |
| sample_curve_same_length | ) |
Definition at line 124 of file GEO_interpolate_curves_test.cc.
References TEST_F().
| blender::bke::tests::TEST_F | ( | GreasePencilInterpolate | , |
| sample_curve_shorter | ) |
Definition at line 164 of file GEO_interpolate_curves_test.cc.
References TEST_F().
| blender::bke::tests::TEST_F | ( | GreasePencilInterpolate | , |
| sample_zero_length_curve | ) |
Definition at line 276 of file GEO_interpolate_curves_test.cc.
References TEST_F().
| blender::bke::tests::TEST_F | ( | ImageTest | , |
| multilayer | ) |
Definition at line 309 of file source/blender/blenkernel/intern/image_test.cc.
| blender::bke::tests::TEST_F | ( | LibQueryTest | , |
| libquery_basic | ) |
Definition at line 151 of file lib_query_test.cc.
References BKE_library_foreach_ID_link(), EXPECT_EQ(), FOREACH_MAIN_ID_BEGIN, FOREACH_MAIN_ID_END, Mesh::id, IDWALK_NOP, IDWALK_READONLY, IDWALK_RET_NOP, blender::bke::tests::WholeIDTestData::mesh, TEST_F(), and ID::us.
| blender::bke::tests::TEST_F | ( | LibQueryTest | , |
| libquery_recursive | ) |
Definition at line 208 of file lib_query_test.cc.
References BKE_library_foreach_ID_link(), EXPECT_EQ(), FOREACH_MAIN_ID_BEGIN, FOREACH_MAIN_ID_END, IDWALK_CB_USER, IDWALK_RECURSE, IDWALK_RET_NOP, TEST_F(), and ID::us.
| blender::bke::tests::TEST_F | ( | LibQueryTest | , |
| libquery_subdata | ) |
Definition at line 263 of file lib_query_test.cc.
References BKE_library_foreach_subdata_id(), data, EXPECT_EQ(), FOREACH_MAIN_ID_BEGIN, FOREACH_MAIN_ID_END, IDWALK_NOP, IDWALK_RET_NOP, blender::bke::node_node_foreach_id(), TEST_F(), and ID::us.
| blender::bke::tests::TEST_F | ( | LibRemapTest | , |
| delete_when_remap_to_self_not_allowed | ) |
Definition at line 177 of file lib_remap_test.cc.
References BKE_libblock_remap(), EXPECT_EQ(), and TEST_F().
| blender::bke::tests::TEST_F | ( | LibRemapTest | , |
| do_not_delete_when_cannot_unset | ) |
Definition at line 236 of file lib_remap_test.cc.
References BKE_libblock_remap(), EXPECT_EQ(), ID_REMAP_SKIP_NEVER_NULL_USAGE, and TEST_F().
| blender::bke::tests::TEST_F | ( | LibRemapTest | , |
| embedded_ids_can_not_be_deleted | ) |
Definition at line 157 of file lib_remap_test.cc.
References BKE_libblock_remap(), EXPECT_EQ(), ID_REMAP_SKIP_NEVER_NULL_USAGE, and TEST_F().
| blender::bke::tests::TEST_F | ( | LibRemapTest | , |
| embedded_ids_can_not_be_remapped | ) |
Definition at line 141 of file lib_remap_test.cc.
References BKE_id_free(), BKE_id_new_nomain(), BKE_libblock_remap(), EXPECT_EQ(), and TEST_F().
| blender::bke::tests::TEST_F | ( | LibRemapTest | , |
| force_never_null_usage | ) |
Definition at line 248 of file lib_remap_test.cc.
References BKE_libblock_remap(), EXPECT_EQ(), ID_REMAP_FORCE_NEVER_NULL_USAGE, and TEST_F().
| blender::bke::tests::TEST_F | ( | LibRemapTest | , |
| never_null_usage_flag_not_requested_on_delete | ) |
Definition at line 259 of file lib_remap_test.cc.
References BKE_libblock_remap(), EXPECT_EQ(), ID_REMAP_SKIP_NEVER_NULL_USAGE, ID_TAG_DOIT, and TEST_F().
| blender::bke::tests::TEST_F | ( | LibRemapTest | , |
| never_null_usage_flag_not_requested_on_remap | ) |
Definition at line 295 of file lib_remap_test.cc.
References BKE_libblock_remap(), BKE_mesh_add(), EXPECT_EQ(), ID_REMAP_SKIP_NEVER_NULL_USAGE, ID_TAG_DOIT, and TEST_F().
| blender::bke::tests::TEST_F | ( | LibRemapTest | , |
| never_null_usage_storage_requested_on_delete | ) |
Definition at line 274 of file lib_remap_test.cc.
References blender::bke::id::IDRemapper::add(), BKE_libblock_remap_multiple_locked(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), EXPECT_EQ(), ID_REMAP_SKIP_NEVER_NULL_USAGE, ID_REMAP_STORE_NEVER_NULL_USAGE, ID_TAG_DOIT, blender::bke::id::IDRemapper::never_null_users(), and TEST_F().
| blender::bke::tests::TEST_F | ( | LibRemapTest | , |
| never_null_usage_storage_requested_on_remap | ) |
Definition at line 310 of file lib_remap_test.cc.
References blender::bke::id::IDRemapper::add(), BKE_libblock_remap_multiple_locked(), BKE_mesh_add(), EXPECT_EQ(), Mesh::id, ID_REMAP_SKIP_NEVER_NULL_USAGE, ID_REMAP_STORE_NEVER_NULL_USAGE, ID_TAG_DOIT, blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::is_empty(), blender::bke::id::IDRemapper::never_null_users(), and TEST_F().
| blender::bke::tests::TEST_F | ( | LibRemapTest | , |
| users_are_decreased_when_not_skipping_never_null | ) |
Definition at line 196 of file lib_remap_test.cc.
References BKE_libblock_remap(), EXPECT_EQ(), ID_TAG_DOIT, and TEST_F().
| blender::bke::tests::TEST_F | ( | LibRemapTest | , |
| users_are_same_when_skipping_never_null | ) |
Definition at line 214 of file lib_remap_test.cc.
References BKE_libblock_remap(), EXPECT_EQ(), ID_REMAP_SKIP_NEVER_NULL_USAGE, ID_TAG_DOIT, and TEST_F().
| blender::bke::tests::TEST_F | ( | PaintBVHTest | , |
| from_mesh | ) |
Definition at line 36 of file paint_test.cc.
References blender::bke::pbvh::Tree::from_mesh(), blender::bke::pbvh::Tree::nodes(), and TEST_F().
|
static |
Definition at line 33 of file lib_id_test.cc.
References EXPECT_EQ(), ID::next, and test_lib_id_main_sort_check_order().
Referenced by TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), and test_lib_id_main_sort_check_order().
|
static |
Definition at line 84 of file layer_test.cc.
References AOV_CONFLICT, BKE_view_layer_has_valid_aov(), BKE_view_layer_verify_aov(), ViewLayerAOV::flag, Scene::id, ViewLayerAOV::name, RNA_boolean_set(), RNA_pointer_create_discrete(), STREQ, STRNCPY(), and test_render_pass_conflict().
Referenced by TEST(), and test_render_pass_conflict().
|
static |
Generic function to test vec_roll_to_mat3_normalized.
Definition at line 116 of file armature_test.cc.
References copy_v3_v3(), EXPECT_M3_ORTHOGONAL(), input, normalize, normalize_v3_v3(), ORTHO_EPSILON, SCALE_EPSILON, test_vec_roll_to_mat3_normalized(), and vec_roll_to_mat3_normalized().
Referenced by TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), test_vec_roll_to_mat3_normalized(), and test_vec_roll_to_mat3_orthogonal().
|
static |
Test that the matrix is orthogonal for an input close to -Y.
Definition at line 297 of file armature_test.cc.
References input, sqrt, test_vec_roll_to_mat3_normalized(), test_vec_roll_to_mat3_orthogonal(), x, and z().
Referenced by test_vec_roll_to_mat3_orthogonal(), and test_vec_roll_to_mat3_orthogonal().
|
static |
Test that the matrix is orthogonal for a range of inputs close to -Y.
Definition at line 305 of file armature_test.cc.
References abs, i, interpd(), printf, and test_vec_roll_to_mat3_orthogonal().
|
static |
Definition at line 643 of file fcurve_test.cc.
References BEZT_BINARYSEARCH_THRESH, BKE_fcurve_create(), ED_keyframes_add(), set_key(), and testcurve_with_duplicates().
Referenced by TEST(), TEST(), TEST(), TEST(), and testcurve_with_duplicates().
|
static |
|
static |
Definition at line 20 of file armature_test.cc.
|
static |
Definition at line 23 of file armature_test.cc.
Referenced by test_vec_roll_to_mat3_normalized().
|
static |
Definition at line 22 of file armature_test.cc.
Referenced by test_vec_roll_to_mat3_normalized().
|
static |
Definition at line 13 of file file_handler_test.cc.
Referenced by file_handler_add_test(), TEST(), and TEST().