| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | public | :: | n_errors | ||||
| integer, | public | :: | n_tests | ||||
| real, | public | :: | r_tol | ||||
| double precision, | public | :: | d_tol |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(tester_t), | intent(inout) | :: | this | |||
| integer, | intent(in) | :: | i1 | |||
| integer, | intent(in) | :: | i2 | |||
| logical, | intent(in), | optional | :: | fail |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(tester_t), | intent(inout) | :: | this | |||
| logical, | intent(in) | :: | l1 | |||
| logical, | intent(in) | :: | l2 | |||
| logical, | intent(in), | optional | :: | fail |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(tester_t), | intent(inout) | :: | this | |||
| integer, | intent(in), | dimension(:) | :: | i1 | ||
| integer, | intent(in), | dimension(:) | :: | i2 | ||
| logical, | intent(in), | optional | :: | fail |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(tester_t), | intent(inout) | :: | this | |||
| logical, | intent(in), | dimension(:) | :: | l1 | ||
| logical, | intent(in), | dimension(:) | :: | l2 | ||
| logical, | intent(in), | optional | :: | fail |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(tester_t), | intent(inout) | :: | this | |||
| double precision, | intent(in) | :: | d1 | |||
| double precision, | intent(in) | :: | d2 | |||
| logical, | intent(in), | optional | :: | fail |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(tester_t), | intent(inout) | :: | this | |||
| integer, | intent(in) | :: | i1 | |||
| integer, | intent(in) | :: | i2 | |||
| logical, | intent(in), | optional | :: | fail |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(tester_t), | intent(inout) | :: | this | |||
| logical, | intent(in) | :: | l1 | |||
| logical, | intent(in) | :: | l2 | |||
| logical, | intent(in), | optional | :: | fail |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(tester_t), | intent(inout) | :: | this | |||
| integer, | intent(in), | dimension(:) | :: | i1 | ||
| integer, | intent(in), | dimension(:) | :: | i2 | ||
| logical, | intent(in), | optional | :: | fail |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(tester_t), | intent(inout) | :: | this | |||
| logical, | intent(in), | dimension(:) | :: | l1 | ||
| logical, | intent(in), | dimension(:) | :: | l2 | ||
| logical, | intent(in), | optional | :: | fail |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(tester_t), | intent(inout) | :: | this | |||
| double precision, | intent(in) | :: | d1 | |||
| double precision, | intent(in) | :: | d2 | |||
| logical, | intent(in), | optional | :: | fail |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(tester_t), | intent(inout) | :: | this | |||
| integer, | intent(in) | :: | i | |||
| logical, | intent(in), | optional | :: | fail |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(tester_t), | intent(inout) | :: | this | |||
| integer, | intent(in), | dimension(:) | :: | i | ||
| logical, | intent(in), | optional | :: | fail |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(tester_t), | intent(inout) | :: | this | |||
| double precision, | intent(in) | :: | d | |||
| logical, | intent(in), | optional | :: | fail |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(tester_t), | intent(inout) | :: | this | |||
| integer, | intent(in) | :: | i | |||
| logical, | intent(in), | optional | :: | fail |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(tester_t), | intent(inout) | :: | this | |||
| integer, | intent(in), | dimension(:) | :: | i | ||
| logical, | intent(in), | optional | :: | fail |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(tester_t), | intent(inout) | :: | this | |||
| double precision, | intent(in) | :: | d | |||
| logical, | intent(in), | optional | :: | fail |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(tester_t), | intent(inout) | :: | this | |||
| double precision, | intent(in) | :: | d1 | |||
| double precision, | intent(in) | :: | d2 | |||
| logical, | intent(in), | optional | :: | fail |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(tester_t), | intent(inout) | :: | this | |||
| real, | intent(in) | :: | r1 | |||
| real, | intent(in) | :: | r2 | |||
| logical, | intent(in), | optional | :: | fail |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(tester_t), | intent(inout) | :: | this | |||
| double precision, | intent(in), | dimension(:) | :: | d1 | ||
| double precision, | intent(in), | dimension(:) | :: | d2 | ||
| logical, | intent(in), | optional | :: | fail |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(tester_t), | intent(inout) | :: | this | |||
| double precision, | intent(in) | :: | d1 | |||
| double precision, | intent(in) | :: | d2 | |||
| logical, | intent(in), | optional | :: | fail |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(tester_t), | intent(inout) | :: | this | |||
| real, | intent(in) | :: | r1 | |||
| real, | intent(in) | :: | r2 | |||
| logical, | intent(in), | optional | :: | fail |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(tester_t), | intent(inout) | :: | this | |||
| double precision, | intent(in), | dimension(:) | :: | d1 | ||
| double precision, | intent(in), | dimension(:) | :: | d2 | ||
| logical, | intent(in), | optional | :: | fail |
type tester_t
integer :: n_errors
integer :: n_tests
real :: r_tol
double precision :: d_tol
contains
procedure :: init
procedure :: print
generic, public :: assert_equal => assert_equal_i, assert_equal_l, assert_equal_i_1, &
assert_equal_l_1, assert_equal_d
procedure, private :: assert_equal_i
procedure, private :: assert_equal_l
procedure, private :: assert_equal_i_1
procedure, private :: assert_equal_l_1
procedure, private :: assert_equal_d
generic, public :: assert_positive => assert_positive_i, assert_positive_i_1, assert_positive_d
procedure, private :: assert_positive_i
procedure, private :: assert_positive_i_1
procedure, private :: assert_positive_d
generic, public :: assert_close => assert_close_d, assert_close_r, assert_close_d_1
procedure, private :: assert_close_d
procedure, private :: assert_close_r
procedure, private :: assert_close_d_1
end type tester_t