Graph Framework
|
Tests for the node interface. More...
#include <cassert>
#include "../graph_framework/piecewise.hpp"
#include "../graph_framework/math.hpp"
#include "../graph_framework/trigonometry.hpp"
#include "../graph_framework/arithmetic.hpp"
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. | |
Tests for the node interface.
int main | ( | int | argc, |
const char * | argv[] | ||
) |
Main program of the test.
[in] | argc | Number of commandline arguments. |
[in] | argv | Array of commandline arguments. |
void run_tests | ( | ) |
Run tests with a specified backend.
T | Base type of the calculation. |
void test_constant | ( | ) |
Tests for constant nodes.
T | Base type of the calculation. |
void test_pseudo_variable | ( | ) |
Tests for pseudo variable nodes.
T | Base type of the calculation. |
void test_variable | ( | ) |
Tests for variable nodes.
T | Base type of the calculation. |