Skip to content

Commit 446c13b

Browse files
committed
Try the cairo backend, for GitHub actions.
1 parent 879d0c7 commit 446c13b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

check_mandelbrot.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ START_TEST(test_complex_plane_coordinates)
4444
{
4545
const int width = 800, height = width;
4646

47-
graph_t graph = graph_create("graph_gd.so", width, height, 0 + I * 0, 4.0);
47+
graph_t graph = graph_create("graph_cairo.so", width, height, 0 + I * 0, 4.0);
4848

4949
assert_complex_points_equal(-2 - I * 2, graph.extremes.lower_left);
5050
assert_complex_points_equal( 2 + I * 2, graph.extremes.upper_right);
@@ -62,7 +62,7 @@ START_TEST(test_aspect_ratio_in_portrait)
6262
{
6363
const int width = 500, height = 800;
6464

65-
graph_t graph = graph_create("graph_gd.so", width, height, 0.25 + I * -0.3, 2.0);
65+
graph_t graph = graph_create("graph_cairo.so", width, height, 0.25 + I * -0.3, 2.0);
6666

6767
assert_complex_points_equal(-0.375 - I * 1.3, graph.extremes.lower_left);
6868
assert_complex_points_equal( 0.875 + I * 0.7, graph.extremes.upper_right);
@@ -75,7 +75,7 @@ START_TEST(test_aspect_ratio_in_landscape)
7575
{
7676
const int width = 600, height = 450;
7777

78-
graph_t graph = graph_create("graph_gd.so", width, height, -0.25 + I * 0.3, 4.0);
78+
graph_t graph = graph_create("graph_cairo.so", width, height, -0.25 + I * 0.3, 4.0);
7979

8080
assert_complex_points_equal(-2.25 - I * 1.2, graph.extremes.lower_left);
8181
assert_complex_points_equal( 1.75 + I * 1.8, graph.extremes.upper_right);

0 commit comments

Comments
 (0)