Line data Source code
1 : !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2 : !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
3 : !!!! !!!!
4 : !!!! ParaMonte: Parallel Monte Carlo and Machine Learning Library. !!!!
5 : !!!! !!!!
6 : !!!! Copyright (C) 2012-present, The Computational Data Science Lab !!!!
7 : !!!! !!!!
8 : !!!! This file is part of the ParaMonte library. !!!!
9 : !!!! !!!!
10 : !!!! LICENSE !!!!
11 : !!!! !!!!
12 : !!!! https://github.com/cdslaborg/paramonte/blob/main/LICENSE.md !!!!
13 : !!!! !!!!
14 : !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
15 : !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
16 :
17 : !> \brief This file contains the implementations of the tests of module [pm_mathCompare](@ref pm_mathCompare).
18 : !>
19 : !> \fintest
20 : !>
21 : !> \author
22 : !> \AmirShahmoradi, Tuesday 2:06 AM, September 21, 2021, Dallas, TX
23 :
24 : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
25 :
26 : submodule (test_pm_mathCompare) routines
27 :
28 : implicit none
29 :
30 : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
31 :
32 : contains
33 :
34 : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
35 :
36 : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
37 : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
38 : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
39 :
40 : #define isClose_ENABLED 1
41 :
42 : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
43 :
44 : #define isClose_CK_ENABLED 1
45 :
46 : #if CK5_ENABLED
47 : module procedure test_isClose_CK5_1
48 : use pm_kind, only: CKC => CK5
49 : #include "test_pm_mathCompare@routines.inc.F90"
50 : end procedure
51 : #endif
52 :
53 : #if CK4_ENABLED
54 1 : module procedure test_isClose_CK4_1
55 : use pm_kind, only: CKC => CK4
56 : #include "test_pm_mathCompare@routines.inc.F90"
57 : end procedure
58 : #endif
59 :
60 : #if CK3_ENABLED
61 1 : module procedure test_isClose_CK3_1
62 : use pm_kind, only: CKC => CK3
63 : #include "test_pm_mathCompare@routines.inc.F90"
64 : end procedure
65 : #endif
66 :
67 : #if CK2_ENABLED
68 1 : module procedure test_isClose_CK2_1
69 : use pm_kind, only: CKC => CK2
70 : #include "test_pm_mathCompare@routines.inc.F90"
71 : end procedure
72 : #endif
73 :
74 : #if CK1_ENABLED
75 1 : module procedure test_isClose_CK1_1
76 : use pm_kind, only: CKC => CK1
77 : #include "test_pm_mathCompare@routines.inc.F90"
78 : end procedure
79 : #endif
80 :
81 : #undef isClose_CK_ENABLED
82 :
83 : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
84 :
85 : #define isClose_RK_ENABLED 1
86 :
87 : #if RK5_ENABLED
88 : module procedure test_isClose_RK5_1
89 : use pm_kind, only: RKC => RK5
90 : #include "test_pm_mathCompare@routines.inc.F90"
91 : end procedure
92 : #endif
93 :
94 : #if RK4_ENABLED
95 1 : module procedure test_isClose_RK4_1
96 : use pm_kind, only: RKC => RK4
97 : #include "test_pm_mathCompare@routines.inc.F90"
98 : end procedure
99 : #endif
100 :
101 : #if RK3_ENABLED
102 1 : module procedure test_isClose_RK3_1
103 : use pm_kind, only: RKC => RK3
104 : #include "test_pm_mathCompare@routines.inc.F90"
105 : end procedure
106 : #endif
107 :
108 : #if RK2_ENABLED
109 1 : module procedure test_isClose_RK2_1
110 : use pm_kind, only: RKC => RK2
111 : #include "test_pm_mathCompare@routines.inc.F90"
112 : end procedure
113 : #endif
114 :
115 : #if RK1_ENABLED
116 1 : module procedure test_isClose_RK1_1
117 : use pm_kind, only: RKC => RK1
118 : #include "test_pm_mathCompare@routines.inc.F90"
119 : end procedure
120 : #endif
121 :
122 : #undef isClose_RK_ENABLED
123 :
124 : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
125 :
126 : #undef isClose_ENABLED
127 :
128 : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
129 : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
130 : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
131 :
132 : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
133 :
134 : end submodule routines ! LCOV_EXCL_LINE
|