14#include "testing/testing.h"
29 EXPECT_FLOAT_EQ(strip.blendin, 4.0);
30 EXPECT_FLOAT_EQ(strip.blendout, 5.0);
35 EXPECT_FLOAT_EQ(strip.blendin, 1.0);
36 EXPECT_FLOAT_EQ(strip.blendout, 5.0);
41 EXPECT_FLOAT_EQ(strip.blendin, 0.0);
42 EXPECT_FLOAT_EQ(strip.blendout, 0.1);
51 strips.first = &strip1;
77 strip.actstart = 2.0f;
81 strip.actstart = 2.0f;
82 strip.actend = 2.0625f;
85 strip.actstart = 2.0f;
97 EXPECT_FLOAT_EQ(end, 4.0f);
102 EXPECT_FLOAT_EQ(end, 3.0f);
107 EXPECT_FLOAT_EQ(end, 2.0625f);
112 EXPECT_FLOAT_EQ(end, 3.0f);
130 track.strips = strips;
void BKE_nla_clip_length_ensure_nonzero(const float *actstart, float *r_actend)
void BKE_nlatrack_remove_strip(NlaTrack *track, NlaStrip *strip)
bool BKE_nlastrips_add_strip(ListBase *strips, NlaStrip *strip)
NlaTrack * BKE_nlatrack_new_tail(ListBase *nla_tracks, const bool is_liboverride)
void BKE_nlastrip_recalculate_blend(NlaStrip *strip)
NlaTrack * BKE_nlatrack_new_head(ListBase *nla_tracks, bool is_liboverride)
float BKE_nla_clip_length_get_nonzero(const NlaStrip *strip)
void BKE_nlatrack_remove_and_free(ListBase *tracks, NlaTrack *nlt, bool do_id_user)
EXPECT_EQ(BLI_expr_pylike_eval(expr, nullptr, 0, &result), EXPR_PYLIKE_INVALID)
int BLI_findindex(const struct ListBase *listbase, const void *vlink) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
int BLI_listbase_count(const struct ListBase *listbase) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
Read Guarded memory(de)allocation.
TEST(action_groups, ReconstructGroupsWithReordering)