Skip to content

tests: add CAMediaTimingFunction tests - #14

Open
DTW-Thalion wants to merge 1 commit into
gnustep:masterfrom
DTW-Thalion:tests/camediatimingfunction
Open

tests: add CAMediaTimingFunction tests#14
DTW-Thalion wants to merge 1 commit into
gnustep:masterfrom
DTW-Thalion:tests/camediatimingfunction

Conversation

@DTW-Thalion

@DTW-Thalion DTW-Thalion commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

Adds a gnustep-tests suite for CAMediaTimingFunction under Tests/quartzcore, checking the control points of the named functions (default, linear, ease-in, ease-out, ease-in-ease-out) and a custom function, including the (0,0)/(1,1) endpoints. Expected values were checked against Apple QuartzCore on a macOS runner.

Depends on #12, which adds the Tests/quartzcore scaffolding (GNUmakefile.super, GNUmakefile.postamble). Please merge #12 first.

The test includes <Foundation/NSGeometry.h> for CGFloat because CAMediaTimingFunction.h uses CGFloat without importing a header that defines it; #15 makes the header self-contained.

@ivucica

ivucica commented Jul 29, 2026

Copy link
Copy Markdown
Member

I don't see how it actively depends on #12? I'm tempted to merge as is, tests can still be run even without adding dependency installer script, macOS shim for Testing.h, etc

But I'm on my phone and can't test if TestInfo causes Testing.h to get generated too. So I'll wait till the minimal changes are done there

@DTW-Thalion

Copy link
Copy Markdown
Contributor Author

Stand by - I am just finishing something in libs-gui, and will pop over to see what changes you want in #12 - if it is quick, it will be done within the hour.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants