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

Tests for workflows. More...

#include <cassert>
#include "../graph_framework/graph_framework.hpp"

Functions

template<jit::float_scalar T, workflow::order O>
void test_zeros ()
 Test setting multiple variables with the same map.
 
template<jit::float_scalar T, workflow::order O>
void test_copy ()
 Test setting multiple variables with the same map.
 
template<jit::float_scalar T, workflow::order O>
void test_callbacks ()
 Test callback functions.
 
template<jit::float_scalar T, workflow::order O>
void test_maps ()
 Test setting multiple variables with the same map.
 
template<jit::float_scalar T, workflow::order O>
void test_loops ()
 Test loop items.
 
template<jit::float_scalar T, workflow::order O>
void run_tests_order ()
 Run tests with a specified backend.
 
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 workflows.

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.

◆ run_tests_order()

void run_tests_order ( )

Run tests with a specified backend.

Template Parameters
TBase type of the calculation.
OThe workflow::order

◆ test_callbacks()

void test_callbacks ( )

Test callback functions.

Template Parameters
TBase type of the calculation.
OThe workflow::order

◆ test_copy()

void test_copy ( )

Test setting multiple variables with the same map.

Template Parameters
TBase type of the calculation.
OThe workflow::order

◆ test_loops()

void test_loops ( )

Test loop items.

Template Parameters
TBase type of the calculation.
OThe workflow::order

◆ test_maps()

void test_maps ( )

Test setting multiple variables with the same map.

Template Parameters
TBase type of the calculation.
OThe workflow::order

◆ test_zeros()

void test_zeros ( )

Test setting multiple variables with the same map.

Template Parameters
TBase type of the calculation.
OThe workflow::order