Wrap long lines to fit within 80 columns across the codebase
Pure whitespace/line-break reformatting (braces, newlines, and line continuations matching this codebase's existing wrap conventions) - no logic, string content, or identifiers changed anywhere. Confirmed via diff against the pre-change tree and by rebuilding + re-running the affected test suites, which produce identical pass/fail results. Co-Authored-By: Claude Sonnet 5 <[email protected]>
This commit is contained in:
@@ -141,22 +141,61 @@ static void test_easingInOutBack(void **state) {
|
||||
}
|
||||
|
||||
static void test_easingApplyDispatchesToEachType(void **state) {
|
||||
assert_float_equal(easingApply(EASING_LINEAR, 0.5f), easingLinear(0.5f), EASING_TOLERANCE);
|
||||
assert_float_equal(easingApply(EASING_IN_SINE, 0.5f), easingInSine(0.5f), EASING_TOLERANCE);
|
||||
assert_float_equal(easingApply(EASING_OUT_SINE, 0.5f), easingOutSine(0.5f), EASING_TOLERANCE);
|
||||
assert_float_equal(easingApply(EASING_IN_OUT_SINE, 0.5f), easingInOutSine(0.5f), EASING_TOLERANCE);
|
||||
assert_float_equal(easingApply(EASING_IN_QUAD, 0.5f), easingInQuad(0.5f), EASING_TOLERANCE);
|
||||
assert_float_equal(easingApply(EASING_OUT_QUAD, 0.5f), easingOutQuad(0.5f), EASING_TOLERANCE);
|
||||
assert_float_equal(easingApply(EASING_IN_OUT_QUAD, 0.5f), easingInOutQuad(0.5f), EASING_TOLERANCE);
|
||||
assert_float_equal(easingApply(EASING_IN_CUBIC, 0.5f), easingInCubic(0.5f), EASING_TOLERANCE);
|
||||
assert_float_equal(easingApply(EASING_OUT_CUBIC, 0.5f), easingOutCubic(0.5f), EASING_TOLERANCE);
|
||||
assert_float_equal(easingApply(EASING_IN_OUT_CUBIC, 0.5f), easingInOutCubic(0.5f), EASING_TOLERANCE);
|
||||
assert_float_equal(easingApply(EASING_IN_QUART, 0.5f), easingInQuart(0.5f), EASING_TOLERANCE);
|
||||
assert_float_equal(easingApply(EASING_OUT_QUART, 0.5f), easingOutQuart(0.5f), EASING_TOLERANCE);
|
||||
assert_float_equal(easingApply(EASING_IN_OUT_QUART, 0.5f), easingInOutQuart(0.5f), EASING_TOLERANCE);
|
||||
assert_float_equal(easingApply(EASING_IN_BACK, 0.5f), easingInBack(0.5f), EASING_TOLERANCE);
|
||||
assert_float_equal(easingApply(EASING_OUT_BACK, 0.5f), easingOutBack(0.5f), EASING_TOLERANCE);
|
||||
assert_float_equal(easingApply(EASING_IN_OUT_BACK, 0.5f), easingInOutBack(0.5f), EASING_TOLERANCE);
|
||||
assert_float_equal(
|
||||
easingApply(EASING_LINEAR, 0.5f), easingLinear(0.5f), EASING_TOLERANCE
|
||||
);
|
||||
assert_float_equal(
|
||||
easingApply(EASING_IN_SINE, 0.5f), easingInSine(0.5f), EASING_TOLERANCE
|
||||
);
|
||||
assert_float_equal(
|
||||
easingApply(EASING_OUT_SINE, 0.5f), easingOutSine(0.5f), EASING_TOLERANCE
|
||||
);
|
||||
assert_float_equal(
|
||||
easingApply(EASING_IN_OUT_SINE, 0.5f), easingInOutSine(0.5f),
|
||||
EASING_TOLERANCE
|
||||
);
|
||||
assert_float_equal(
|
||||
easingApply(EASING_IN_QUAD, 0.5f), easingInQuad(0.5f), EASING_TOLERANCE
|
||||
);
|
||||
assert_float_equal(
|
||||
easingApply(EASING_OUT_QUAD, 0.5f), easingOutQuad(0.5f), EASING_TOLERANCE
|
||||
);
|
||||
assert_float_equal(
|
||||
easingApply(EASING_IN_OUT_QUAD, 0.5f), easingInOutQuad(0.5f),
|
||||
EASING_TOLERANCE
|
||||
);
|
||||
assert_float_equal(
|
||||
easingApply(EASING_IN_CUBIC, 0.5f), easingInCubic(0.5f), EASING_TOLERANCE
|
||||
);
|
||||
assert_float_equal(
|
||||
easingApply(EASING_OUT_CUBIC, 0.5f), easingOutCubic(0.5f),
|
||||
EASING_TOLERANCE
|
||||
);
|
||||
assert_float_equal(
|
||||
easingApply(EASING_IN_OUT_CUBIC, 0.5f), easingInOutCubic(0.5f),
|
||||
EASING_TOLERANCE
|
||||
);
|
||||
assert_float_equal(
|
||||
easingApply(EASING_IN_QUART, 0.5f), easingInQuart(0.5f), EASING_TOLERANCE
|
||||
);
|
||||
assert_float_equal(
|
||||
easingApply(EASING_OUT_QUART, 0.5f), easingOutQuart(0.5f),
|
||||
EASING_TOLERANCE
|
||||
);
|
||||
assert_float_equal(
|
||||
easingApply(EASING_IN_OUT_QUART, 0.5f), easingInOutQuart(0.5f),
|
||||
EASING_TOLERANCE
|
||||
);
|
||||
assert_float_equal(
|
||||
easingApply(EASING_IN_BACK, 0.5f), easingInBack(0.5f), EASING_TOLERANCE
|
||||
);
|
||||
assert_float_equal(
|
||||
easingApply(EASING_OUT_BACK, 0.5f), easingOutBack(0.5f), EASING_TOLERANCE
|
||||
);
|
||||
assert_float_equal(
|
||||
easingApply(EASING_IN_OUT_BACK, 0.5f), easingInOutBack(0.5f),
|
||||
EASING_TOLERANCE
|
||||
);
|
||||
}
|
||||
|
||||
static void test_easingApplyInvalidTypeAsserts(void **state) {
|
||||
|
||||
Reference in New Issue
Block a user