ParaMonte Fortran 2.0.0
Parallel Monte Carlo and Machine Learning Library
See the latest version documentation.
pm_test::func_type Type Reference
Inheritance diagram for pm_test::func_type:
Collaboration diagram for pm_test::func_type:

Public Attributes

character(:, SK), allocatable id
 The public scalar allocatable of type character of default kind SK, containing the ID of the current test for a given procedure to be tested.
The presence of this component is historical when individual tests for a single target procedure were implemented in separate test functions.
In such a case, the test functions of a given procedure can be suffixed with a unique ID as in test_*_ID() where ID is replaced with the test function number.
Test function IDs are not necessary anymore as of ParaMonvte V.2 because individual test functions can now implement as many tests as desired.
If a test function does not have an ID, the id component of the parent object of type test_type is set to the default value of 1.
More...
 
- Public Attributes inherited from pm_test::scope_type
class(timer_type), allocatable timer
 This timer is exclusively used to time tests at the target level/scope (that is, to time all tests within a given module, or within a given test function).
More...
 
character(:, SK), allocatable name
 The public scalar allocatable of type character of default kind SK, containing the name of the current scope of testing (e.g., host name of the procedure being tested, or the procedure name).
More...
 

Detailed Description

Definition at line 144 of file pm_test.F90.

Member Data Documentation

◆ id

character(:, SK), allocatable pm_test::func_type::id

The public scalar allocatable of type character of default kind SK, containing the ID of the current test for a given procedure to be tested.
The presence of this component is historical when individual tests for a single target procedure were implemented in separate test functions.
In such a case, the test functions of a given procedure can be suffixed with a unique ID as in test_*_ID() where ID is replaced with the test function number.
Test function IDs are not necessary anymore as of ParaMonvte V.2 because individual test functions can now implement as many tests as desired.
If a test function does not have an ID, the id component of the parent object of type test_type is set to the default value of 1.

Definition at line 147 of file pm_test.F90.


The documentation for this type was generated from the following file: