Graph Framework
Loading...
Searching...
No Matches
node_test.cpp File Reference

Tests for the node interface. More...

Functions

template<jit::float_scalar T>
void test_constant ()
 Tests for constant nodes.
 
template<jit::float_scalar T>
void test_variable ()
 Tests for variable nodes.
 
template<jit::float_scalar T>
void test_pseudo_variable ()
 Tests for pseudo variable nodes.
 
template<jit::float_scalar T>
void run_tests ()
 Run tests with a specified backend.
 
int main (int argc, const char *argv[])
 Main program of the test.
 

Detailed Description

Tests for the node interface.

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()

template<jit::float_scalar T>
void run_tests ( )

Run tests with a specified backend.

Template Parameters
TBase type of the calculation.

◆ test_constant()

template<jit::float_scalar T>
void test_constant ( )

Tests for constant nodes.

Template Parameters
TBase type of the calculation.

◆ test_pseudo_variable()

template<jit::float_scalar T>
void test_pseudo_variable ( )

Tests for pseudo variable nodes.

Template Parameters
TBase type of the calculation.

◆ test_variable()

template<jit::float_scalar T>
void test_variable ( )

Tests for variable nodes.

Template Parameters
TBase type of the calculation.