xref: /third_party/libsnd/src/test_main.h (revision b815c7f3)
1/*
2** Copyright (C) 2008-2016 Erik de Castro Lopo <erikd@mega-nerd.com>
3**
4** This program is free software; you can redistribute it and/or modify
5** it under the terms of the GNU Lesser General Public License as published by
6** the Free Software Foundation; either version 2.1 of the License, or
7** (at your option) any later version.
8**
9** This program is distributed in the hope that it will be useful,
10** but WITHOUT ANY WARRANTY; without even the implied warranty of
11** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12** GNU Lesser General Public License for more details.
13**
14** You should have received a copy of the GNU Lesser General Public License
15** along with this program; if not, write to the Free Software
16** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17*/
18
19static inline void
20print_test_name (const char * name)
21{	printf ("    %-40s : ", name) ;
22	fflush (stdout) ;
23} /* print_test_name */
24
25
26
27void test_conversions (void) ;
28void test_endswap (void) ;
29void test_log_printf (void) ;
30void test_binheader_writef (void) ;
31void test_file_io (void) ;
32
33void test_float_convert (void) ;
34void test_double_convert (void) ;
35
36void test_audio_detect (void) ;
37void test_ima_oki_adpcm (void) ;
38
39void test_psf_strlcpy_crlf (void) ;
40void test_broadcast_var (void) ;
41
42void test_cart_var (void) ;
43
44void test_nms_adpcm (void) ;
45