28 #include <irplib_framelist.h>
47 irplib_framelist * flist;
48 irplib_framelist * nulllist;
51 cpl_frameset * nullset;
55 cpl_test_init(PACKAGE_BUGREPORT, CPL_MSG_WARNING);
60 cpl_test_error(CPL_ERROR_NONE);
63 cpl_test_error(CPL_ERROR_NULL_INPUT);
64 cpl_test_null(nulllist);
67 cpl_test_error(CPL_ERROR_NULL_INPUT);
68 cpl_test_null(nullset);
71 cpl_test_error(CPL_ERROR_NONE);
74 cpl_test_error(CPL_ERROR_NULL_INPUT);
97 frm = cpl_frame_new();
98 cpl_frame_set_filename(frm,
"test.fits");
99 cpl_frame_set_tag(frm,
"TEST");
100 cpl_frameset_insert(fset, frm);
108 cpl_frameset_insert(fset, cpl_frame_duplicate(frm));
113 cpl_frameset_delete(fset);
116 return cpl_test_end(0);