Graph Framework
Loading...
Searching...
No Matches
c_binding_test.c File Reference

Tests for c bindings. More...

#include <complex.h>
#include <assert.h>
#include <stdio.h>
#include "../graph_c_binding/graph_c_binding.h"

Functions

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.

Detailed Description

Tests for c bindings.

Function Documentation

◆ main()

int main ( int argc,
const char * argv[] )

Main program of the test.

Parameters
[in]argcNumber of commandline arguments.
[in]argvArray of commandline arguments.

◆ run_tests()

void run_tests ( const enum graph_type type,
const bool use_safe_math )

Run tests.

Parameters
[in]typeType to run tests on.
[in]use_safe_mathUse safe math.