mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-13 19:44:28 +00:00
test capi: Stroke Linear Gradient fix #2
This commit is contained in:
parent
a757e6b97d
commit
ba1a38ed39
1 changed files with 4 additions and 4 deletions
|
@ -98,10 +98,10 @@ TEST_CASE("Linear Gradient color stops", "[capiLinearGradient]")
|
|||
TEST_CASE("Linear Gradient clear data", "[capiLinearGradient]")
|
||||
{
|
||||
Tvg_Paint *shape = tvg_shape_new();
|
||||
REQUIRE(shape != NULL);
|
||||
REQUIRE(shape);
|
||||
|
||||
Tvg_Gradient *gradient = tvg_linear_gradient_new();
|
||||
REQUIRE(gradient != NULL);
|
||||
REQUIRE(gradient);
|
||||
|
||||
Tvg_Color_Stop color_stops[2] =
|
||||
{
|
||||
|
@ -143,10 +143,10 @@ TEST_CASE("Linear Gradient spread", "[capiLinearGradient]")
|
|||
TEST_CASE("Stroke Linear Gradient", "[capiLinearGradient]")
|
||||
{
|
||||
Tvg_Paint *shape = tvg_shape_new();
|
||||
REQUIRE(shape != NULL);
|
||||
REQUIRE(shape);
|
||||
|
||||
Tvg_Gradient *gradient = tvg_linear_gradient_new();
|
||||
REQUIRE(gradient != NULL);
|
||||
REQUIRE(gradient);
|
||||
|
||||
Tvg_Color_Stop color_stops[2] =
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue