Test performed on an array of real values.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
procedure(realArrCompInterface), | public, | nopass, pointer | :: | compare | Pointer to a comparisson function used to perform the test. |
||
real(kind=wp), | public, | allocatable, dimension(:) | :: | res | Real array result from some process. |
||
character(len=NAME_LENGTH), | public | :: | test_name | Name of the test case. |
|||
real(kind=wp), | public, | allocatable, dimension(:) | :: | tgt | Target real array result for some process. |
Constructor interface for a TestRealArrVal object.
Construct new TestRealArrVal given a name.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | ts_name | Name of the new TestRealArrVal object. |
Return new TestRealArrVal object.
Destruct TestRealVal object by deallocating its next object pointer as well as its res and tgt arrays.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(TestRealArrVal), | intent(inout) | :: | self |
Run test on real arrays and print summary report for images.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(TestRealArrVal), | intent(in) | :: | self |
Return the tests that passed up to and including this one in the linked list.
type, public, extends(Test) :: TestRealArrVal
!! Test performed on an array of real values.
procedure(realArrCompInterface), nopass, pointer :: compare
!! Pointer to a comparisson function used to perform the test.
real(kind=wp), public, allocatable, dimension(:) :: res
!! Real array result from some process.
real(kind=wp), public, allocatable, dimension(:) :: tgt
!! Target real array result for some process.
contains
procedure, public, pass :: run => runTestRealArrVal
procedure, private, nopass :: printFail => printFailTestRealArrVal
final :: deleteTestRealArrVal
end type TestRealArrVal