Vlasiator ebf0dd394 on dev (v5.4.0 + 1054 commits)
Loading...
Searching...
No Matches
unit_testing.cpp File Reference
#include <algorithm>
#include <iostream>
#include <limits>
#include <stdint.h>
#include <stdio.h>
#include <time.h>
#include <tuple>
#include <vector>
#include "arch_device_api.h"
Include dependency graph for unit_testing.cpp:

Go to the source code of this file.

Classes

struct  test_instatiator< N, I >
struct  test_instatiator< N, 0 >

Functions

void result_eval (std::tuple< bool, double, double > res, const uint test_id)
template<uint I>
std::enable_if< I==0, std::tuple< bool, double, double > >::type test ()
template<uint I>
std::enable_if< I==1, std::tuple< bool, double, double > >::type test ()
template<uint I>
std::enable_if< I==2, std::tuple< bool, double, double > >::type test ()
template<uint I>
std::enable_if< I==3, std::tuple< bool, double, double > >::type test ()
template<uint I>
std::enable_if< I==4, std::tuple< bool, double, double > >::type test ()
template<uint I>
std::enable_if< I==5, std::tuple< bool, double, double > >::type test ()
template<uint I>
std::enable_if< I==6, std::tuple< bool, double, double > >::type test ()
template<uint I>
std::enable_if< I==7, std::tuple< bool, double, double > >::type test ()
template<uint I>
std::enable_if< I==8, std::tuple< bool, double, double > >::type test ()
int main ()

Function Documentation

◆ main()

int main ( void )

Definition at line 368 of file unit_testing.cpp.

Here is the call graph for this function:

◆ result_eval()

void result_eval ( std::tuple< bool, double, double > res,
const uint test_id )

Definition at line 26 of file unit_testing.cpp.

Here is the caller graph for this function:

◆ test() [1/9]

template<uint I>
std::enable_if< I==8, std::tuple< bool, double, double > >::type test ( )

Definition at line 313 of file unit_testing.cpp.

Here is the call graph for this function:

◆ test() [2/9]

template<uint I>
std::enable_if< I==7, std::tuple< bool, double, double > >::type test ( )

Definition at line 281 of file unit_testing.cpp.

Here is the call graph for this function:

◆ test() [3/9]

template<uint I>
std::enable_if< I==6, std::tuple< bool, double, double > >::type test ( )

Definition at line 243 of file unit_testing.cpp.

Here is the call graph for this function:

◆ test() [4/9]

template<uint I>
std::enable_if< I==5, std::tuple< bool, double, double > >::type test ( )

Definition at line 210 of file unit_testing.cpp.

Here is the call graph for this function:

◆ test() [5/9]

template<uint I>
std::enable_if< I==4, std::tuple< bool, double, double > >::type test ( )

Definition at line 175 of file unit_testing.cpp.

Here is the call graph for this function:

◆ test() [6/9]

template<uint I>
std::enable_if< I==3, std::tuple< bool, double, double > >::type test ( )

Definition at line 145 of file unit_testing.cpp.

Here is the call graph for this function:

◆ test() [7/9]

template<uint I>
std::enable_if< I==2, std::tuple< bool, double, double > >::type test ( )

Definition at line 109 of file unit_testing.cpp.

Here is the call graph for this function:

◆ test() [8/9]

template<uint I>
std::enable_if< I==1, std::tuple< bool, double, double > >::type test ( )

Definition at line 78 of file unit_testing.cpp.

Here is the call graph for this function:

◆ test() [9/9]

template<uint I>
std::enable_if< I==0, std::tuple< bool, double, double > >::type test ( )

Definition at line 39 of file unit_testing.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: