V3FIT
Public Member Functions | List of all members
integration_path::check Interface Reference

Interface for checking the results of the unit tests. More...

Public Member Functions

logical function check_log (expected, received, testNum, name)
 Check a logical value. More...
 
logical function check_real (expected, received, testNum, name)
 Check a real value. More...
 
logical function check_int (expected, received, testNum, name)
 Check an integer value. More...
 

Detailed Description

Interface for checking the results of the unit tests.

Definition at line 92 of file integration_path.f.

Member Function/Subroutine Documentation

◆ check_int()

logical function integration_path::check::check_int ( integer, intent(in)  expected,
integer, intent(in)  received,
integer, intent(in)  testNum,
character (len=*), intent(in)  name 
)

Check an integer value.

Checks that the expected value matches the recieved. Otherwise report an error.

Parameters
[in]expectedThe known value.
[in]receivedThe known test value.
[in]testNumThe number of the test.
[in]nameThe name of the test.
Returns
True if the check passes and false otherwise.

Definition at line 1066 of file integration_path.f.

◆ check_log()

logical function integration_path::check::check_log ( logical, intent(in)  expected,
logical, intent(in)  received,
integer, intent(in)  testNum,
character (len=*), intent(in)  name 
)

Check a logical value.

Checks that the expected value matches the recieved. Otherwise report an error.

Parameters
[in]expectedThe known value.
[in]receivedThe known test value.
[in]testNumThe number of the test.
[in]nameThe name of the test.
Returns
True if the check passes and false otherwise.

Definition at line 997 of file integration_path.f.

◆ check_real()

logical function integration_path::check::check_real ( real(rprec), intent(in)  expected,
real(rprec), intent(in)  received,
integer, intent(in)  testNum,
character (len=*), intent(in)  name 
)

Check a real value.

Checks that the expected value matches the recieved. Otherwise report an error.

Parameters
[in]expectedThe known value.
[in]receivedThe known test value.
[in]testNumThe number of the test.
[in]nameThe name of the test.
Returns
True if the check passes and false otherwise.

Definition at line 1030 of file integration_path.f.


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