Blender Git Loki

Git Commits -> Revision feb71f1

Revision feb71f1 by Sybren A. Stüvel (master)
November 10, 2020, 14:36 (GMT)
Animation: Expand unit tests for `BKE_fcurve_active_keyframe_index()`

Expand unit test for `BKE_fcurve_active_keyframe_index()` to test edge
cases better.

This also introduces a new test macro `EXPECT_BLI_ASSERT()`, which can be
used to test that an assertion fails successfully.

No functional changes to actual Blender code.

Commit Details:

Full Hash: feb71f1d714887715fd9319c91edfe71eddb4a56
Parent Commit: 75a2db5
Lines Changed: +43, -8

4 Modified Paths:

/intern/guardedalloc/tests/guardedalloc_overflow_test.cc (+0, -5) (Diff)
/source/blender/blenkernel/intern/fcurve.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/fcurve_test.cc (+24, -2) (Diff)
/tests/gtests/testing/testing.h (+18, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021