test_swf_H2d.c (1205B)
1 /* Copyright (C) 2024 |Méso|Star> (contact@meso-star.com) 2 * 3 * This program is free software: you can redistribute it and/or modify 4 * it under the terms of the GNU General Public License as published by 5 * the Free Software Foundation, either version 3 of the License, or 6 * (at your option) any later version. 7 * 8 * This program is distributed in the hope that it will be useful, 9 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 * GNU General Public License for more details. 12 * 13 * You should have received a copy of the GNU General Public License 14 * along with this program. If not, see <http://www.gnu.org/licenses/>. */ 15 16 #include "swf.h" 17 #include <rsys/mem_allocator.h> 18 19 /* Define generic dimension helper functions */ 20 #define TEST_SWF_DIMENSION 2 21 #include "test_swf_HXd.h" 22 23 /******************************************************************************* 24 * The test 25 ******************************************************************************/ 26 int 27 main(int argc, char** argv) 28 { 29 (void)argc, (void)argv; 30 31 check_tabulation_creation_2d(); 32 check_inversion_2d(); 33 CHK(mem_allocated_size() == 0); 34 return 0; 35 }