1 | #include "config.h" |
---|---|
2 | #include "gdk-pixbuf/gdk-pixbuf.h" |
3 | #include <glib.h> |
4 | |
5 | static void |
6 | test_gif_circular_table (void) |
7 | { |
8 | GdkPixbuf *pixbuf; |
9 | GError *error = NULL; |
10 | |
11 | pixbuf = gdk_pixbuf_new_from_file (filename: g_test_get_filename (file_type: G_TEST_DIST, first_path: "circular-table.gif", NULL), error: &error); |
12 | g_assert_no_error (error); |
13 | |
14 | g_object_unref (object: pixbuf); |
15 | } |
16 | |
17 | int main (int argc, char *argv[]) |
18 | { |
19 | g_test_init (argc: &argc, argv: &argv, NULL); |
20 | |
21 | g_test_add_func (testpath: "/pixbuf/gif/circular-table", test_func: test_gif_circular_table); |
22 | |
23 | return g_test_run (); |
24 | } |
25 |