Tests for c bindings.
More...
#include <complex.h>
#include <assert.h>
#include <stdio.h>
#include "../graph_c_binding/graph_c_binding.h"
|
| void | run_tests (const enum graph_type type, const bool use_safe_math) |
| | Run tests.
|
| |
| int | main (int argc, const char *argv[]) |
| | Main program of the test.
|
| |
◆ main()
| int main |
( |
int |
argc, |
|
|
const char * |
argv[] |
|
) |
| |
Main program of the test.
- Parameters
-
| [in] | argc | Number of commandline arguments. |
| [in] | argv | Array of commandline arguments. |
◆ run_tests()
| void run_tests |
( |
const enum graph_type |
type, |
|
|
const bool |
use_safe_math |
|
) |
| |
Run tests.
- Parameters
-
| [in] | type | Type to run tests on. |
| [in] | use_safe_math | Use safe math. |