summaryrefslogtreecommitdiffstats
path: root/test/gaussian_quantile.c
blob: 8780c199fdc6813c2162514adad441355a013cc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include <stddef.h>
#include "ts.h"

bool ts_test_gaussian_quantile( void )
{
	fp_t const x0[] = { 0.100000, 0.250000, 0.500000, 0.750000, 0.900000 };
	fp_t const e0[] = { -1.281552, -0.674490, -0.000000, 0.674490, 1.281552 };
	fp_t const * const x[1] = { x0 };
	fp_t const * const e[1] = { e0 };
	return ts_test(ts_gaussian_quantile, ts_gaussian_quantile_offset, x, e, sizeof( x0 ) / sizeof( *x0 ), (ts_constant_t *)NULL, &ts_gaussian_quantile_p);
}