Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
shamtest::details::Test Struct Reference

Informations about a test. More...

#include <shamtest/details/Test.hpp>

+ Collaboration diagram for shamtest::details::Test:

Public Member Functions

 Test (const TestType &type, std::string name, const i32 &node_count, void(*func)())
 CTOR of the test.
 
TestResult run ()
 Run the test.
 

Public Attributes

TestType type
 Type of test.
 
std::string name
 Name of the test.
 
i32 node_count
 Node count of the test.
 
void(* test_functor )()
 Test function.
 

Detailed Description

Informations about a test.

Definition at line 26 of file Test.hpp.

Constructor & Destructor Documentation

◆ Test()

shamtest::details::Test::Test ( const TestType type,
std::string  name,
const i32 node_count,
void(*)()  func 
)
inline

CTOR of the test.

Definition at line 33 of file Test.hpp.

Member Function Documentation

◆ run()

TestResult shamtest::details::Test::run ( )

Run the test.

Definition at line 24 of file Test.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ name

std::string shamtest::details::Test::name

Name of the test.

Definition at line 28 of file Test.hpp.

◆ node_count

i32 shamtest::details::Test::node_count

Node count of the test.

Definition at line 29 of file Test.hpp.

◆ test_functor

void(* shamtest::details::Test::test_functor) ()

Test function.

Definition at line 30 of file Test.hpp.

◆ type

TestType shamtest::details::Test::type

Type of test.

Definition at line 27 of file Test.hpp.


The documentation for this struct was generated from the following files: