MP-Gadget
5.0.1.dev1-76bc7d4726-dirty
|
#include <stdarg.h>
#include <stddef.h>
#include <setjmp.h>
#include <cmocka.h>
#include <math.h>
#include <stdio.h>
#include <stdint.h>
#include "stub.h"
#include "../utils/interp.h"
Go to the source code of this file.
Macros | |
#define | DMAX(x, y) ((x) > (y) ? (x) : (y)) |
#define | DMIN(x, y) ((x) < (y) ? (x) : (y)) |
#define | DSIZE 3 |
Functions | |
double | modulus (double x, double mod) |
static void | test_interp (void **state) |
int | main (void) |
#define DMAX | ( | x, | |
y | |||
) | ((x) > (y) ? (x) : (y)) |
Definition at line 11 of file test_interp.c.
#define DMIN | ( | x, | |
y | |||
) | ((x) < (y) ? (x) : (y)) |
Definition at line 12 of file test_interp.c.
#define DSIZE 3 |
Definition at line 22 of file test_interp.c.
int main | ( | void | ) |
Definition at line 79 of file test_interp.c.
References test_interp().
double modulus | ( | double | x, |
double | mod | ||
) |
Definition at line 15 of file test_interp.c.
Referenced by test_interp().
|
static |
Definition at line 24 of file test_interp.c.
References DMAX, DMIN, DSIZE, interp_destroy(), interp_eval(), interp_eval_periodic(), interp_init(), interp_init_dim(), and modulus().
Referenced by main().