OpenCMISS-Iron Internal API Documentation
|
This module handles test framework routines. More...
Data Types | |
interface | test_framework_assert_equals |
Functions/Subroutines | |
subroutine | test_framework_assert_equals_intg (EXPECTED_VALUE, ACTUAL_VALUE, ERR) |
Check if the actual integer value is as expected. More... | |
subroutine | test_framework_assert_equals_dp1 (EXPECTED_VALUE, ACTUAL_VALUE, ERR) |
Check if the actual real(DP) value is as expected. More... | |
subroutine | test_framework_assert_equals_dp2 (EXPECTED_VALUE, ACTUAL_VALUE, TOLERANCE, ERR) |
Check if the actual real(DP) value is as expected. More... | |
subroutine | test_framework_assert_equals_dp (EXPECTED_VALUE, ACTUAL_VALUE, ERR) |
Check if the actual real(DP) values is as expected. More... | |
subroutine, public | test_framework_gradient_value_get (X_VALUES, Y_VALUES, GRADIENT_VALUE) |
Get the gradient value of two array. More... | |
This module handles test framework routines.
|
private |
Check if the actual real(DP) values is as expected.
[in] | expected_value | expected value |
[in] | actual_value | actual value |
[out] | err | The error code |
Definition at line 164 of file test_framework_routines.f90.
|
private |
Check if the actual real(DP) value is as expected.
[in] | expected_value | expected value |
[in] | actual_value | actual value |
[out] | err | The error code |
Definition at line 112 of file test_framework_routines.f90.
References test_framework_assert_equals_dp2(), and constants::zero_tolerance.
|
private |
Check if the actual real(DP) value is as expected.
[in] | expected_value | expected value |
[in] | actual_value | actual value |
[out] | err | The error code |
Definition at line 136 of file test_framework_routines.f90.
Referenced by test_framework_assert_equals_dp1().
|
private |
Check if the actual integer value is as expected.
[in] | expected_value | expected value |
[in] | actual_value | actual value |
[out] | err | The error code |
Definition at line 85 of file test_framework_routines.f90.
subroutine, public test_framework_routines::test_framework_gradient_value_get | ( | real(dp), dimension(:), intent(in) | X_VALUES, |
real(dp), dimension(:), intent(in) | Y_VALUES, | ||
real(dp), intent(out) | GRADIENT_VALUE | ||
) |
Get the gradient value of two array.
[in] | x_values | expected value |
[in] | y_values | actual value |
[out] | gradient_value | error message |
Definition at line 195 of file test_framework_routines.f90.