File indexing completed on 2025-02-21 10:03:55
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020 #ifndef __GSL_TEST_H__
0021 #define __GSL_TEST_H__
0022
0023 #undef __BEGIN_DECLS
0024 #undef __END_DECLS
0025 #ifdef __cplusplus
0026 # define __BEGIN_DECLS extern "C" {
0027 # define __END_DECLS }
0028 #else
0029 # define __BEGIN_DECLS
0030 # define __END_DECLS
0031 #endif
0032
0033 __BEGIN_DECLS
0034
0035 void
0036 gsl_test (int status, const char *test_description, ...);
0037
0038 void
0039 gsl_test_rel (double result, double expected, double relative_error,
0040 const char *test_description, ...) ;
0041
0042 void
0043 gsl_test_abs (double result, double expected, double absolute_error,
0044 const char *test_description, ...) ;
0045
0046 void
0047 gsl_test_factor (double result, double expected, double factor,
0048 const char *test_description, ...) ;
0049
0050 void
0051 gsl_test_int (int result, int expected, const char *test_description, ...) ;
0052
0053 void
0054 gsl_test_str (const char * result, const char * expected,
0055 const char *test_description, ...) ;
0056
0057 void
0058 gsl_test_verbose (int verbose) ;
0059
0060 int
0061 gsl_test_summary (void) ;
0062
0063
0064 __END_DECLS
0065
0066 #endif