@@ -57,103 +57,103 @@ subroutine collect_constants(testsuite)
5757
5858subroutine test_year (error )
5959 type (error_type), allocatable , intent (out ) :: error
60- call check(error, 2022 - YEAR, 0 )
60+ call check(error, YEAR, 2022 )
6161 if (allocated (error)) return
6262end subroutine
6363
6464subroutine test_ALPHA_PARTICLE_ELECTRON_MASS_RATIO (error )
6565 type (error_type), allocatable , intent (out ) :: error
66- call check(error, 7294.29954171_dp - ALPHA_PARTICLE_ELECTRON_MASS_RATIO% to_real(1.0_dp ), 0.0_dp )
66+ call check(error, ALPHA_PARTICLE_ELECTRON_MASS_RATIO% to_real(1.0_dp ), 7294.29954171_dp )
6767 if (allocated (error)) return
6868end subroutine
6969
7070subroutine test_ALPHA_PARTICLE_MASS (error )
7171 type (error_type), allocatable , intent (out ) :: error
72- call check(error, 6.6446573450d-27 - ALPHA_PARTICLE_MASS% to_real(1.0_dp ), 0.0_dp )
72+ call check(error, ALPHA_PARTICLE_MASS% to_real(1.0_dp ), 6.6446573450d-27 )
7373 if (allocated (error)) return
7474end subroutine
7575
7676subroutine test_ATOMIC_MASS_CONSTANT (error )
7777 type (error_type), allocatable , intent (out ) :: error
78- call check(error, 1.66053906892d-27 - ATOMIC_MASS_CONSTANT% to_real(1.0_dp ), 0.0_dp )
78+ call check(error, ATOMIC_MASS_CONSTANT% to_real(1.0_dp ), 1.66053906892d-27 )
7979 if (allocated (error)) return
8080end subroutine
8181
8282subroutine test_AVOGADRO_CONSTANT (error )
8383 type (error_type), allocatable , intent (out ) :: error
84- call check(error, 6.02214076d23 - AVOGADRO_CONSTANT% to_real(1.0_dp ), 0.0_dp )
84+ call check(error, AVOGADRO_CONSTANT% to_real(1.0_dp ), 6.02214076d23 )
8585 if (allocated (error)) return
8686end subroutine
8787
8888subroutine test_BOLTZMANN_CONSTANT (error )
8989 type (error_type), allocatable , intent (out ) :: error
90- call check(error, 1.380649d-23 - BOLTZMANN_CONSTANT% to_real(1.0_dp ), 0.0_dp )
90+ call check(error, BOLTZMANN_CONSTANT% to_real(1.0_dp ), 1.380649d-23 )
9191 if (allocated (error)) return
9292end subroutine
9393
9494subroutine test_ELECTRON_VOLT (error )
9595 type (error_type), allocatable , intent (out ) :: error
96- call check(error, 1.602176634d-19 - ELECTRON_VOLT% to_real(1.0_dp ), 0.0_dp )
96+ call check(error, ELECTRON_VOLT% to_real(1.0_dp ), 1.602176634d-19 )
9797 if (allocated (error)) return
9898end subroutine
9999
100100subroutine test_ELEMENTARY_CHARGE (error )
101101 type (error_type), allocatable , intent (out ) :: error
102- call check(error, 1.602176634d-19 - ELEMENTARY_CHARGE% to_real(1.0_dp ), 0.0_dp )
102+ call check(error, ELEMENTARY_CHARGE% to_real(1.0_dp ), 1.602176634d-19 )
103103 if (allocated (error)) return
104104end subroutine
105105
106106subroutine test_FARADAY_CONSTANT (error )
107107 type (error_type), allocatable , intent (out ) :: error
108- call check(error, 96485.33212d0 - FARADAY_CONSTANT% to_real(1.0_dp ), 0.0_dp )
108+ call check(error, FARADAY_CONSTANT% to_real(1.0_dp ), 96485.33212d0 )
109109 if (allocated (error)) return
110110end subroutine
111111
112112subroutine test_MOLAR_MASS_CONSTANT (error )
113113 type (error_type), allocatable , intent (out ) :: error
114- call check(error, 1.00000000105d-3 - MOLAR_MASS_CONSTANT% to_real(1.0_dp ), 0.0_dp )
114+ call check(error, MOLAR_MASS_CONSTANT% to_real(1.0_dp ), 1.00000000105d-3 )
115115 if (allocated (error)) return
116116end subroutine
117117
118118subroutine test_MOLAR_VOLUME_NTP (error )
119119 type (error_type), allocatable , intent (out ) :: error
120- call check(error, 22.41396954d-3 - MOLAR_VOLUME_OF_IDEAL_GAS_273_15_K_101_325_KPA% to_real(1.0_dp ), 0.0_dp )
120+ call check(error, MOLAR_VOLUME_OF_IDEAL_GAS_273_15_K_101_325_KPA% to_real(1.0_dp ), 22.41396954d-3 )
121121 if (allocated (error)) return
122122end subroutine
123123
124124subroutine test_PLANCK_CONSTANT (error )
125125 type (error_type), allocatable , intent (out ) :: error
126- call check(error, 6.62607015d-34 - PLANCK_CONSTANT% to_real(1.0_dp ), 0.0_dp )
126+ call check(error, PLANCK_CONSTANT% to_real(1.0_dp ), 6.62607015d-34 )
127127 if (allocated (error)) return
128128end subroutine
129129
130130subroutine test_SPEED_OF_LIGHT (error )
131131 type (error_type), allocatable , intent (out ) :: error
132- call check(error, 299792458.0d0 - SPEED_OF_LIGHT_IN_VACUUM% to_real(1.0_dp ), 0.0_dp )
132+ call check(error, SPEED_OF_LIGHT_IN_VACUUM% to_real(1.0_dp ), 299792458.0d0 )
133133 if (allocated (error)) return
134134end subroutine
135135
136136subroutine test_STANDARD_ACCELERATION_OF_GRAVITY (error )
137137 type (error_type), allocatable , intent (out ) :: error
138- call check(error, 9.80665d0 - STANDARD_ACCELERATION_OF_GRAVITY% to_real(1.0_dp ), 0.0_dp )
138+ call check(error, STANDARD_ACCELERATION_OF_GRAVITY% to_real(1.0_dp ), 9.80665d0 )
139139 if (allocated (error)) return
140140end subroutine
141141
142142subroutine test_U_ALPHA_PARTICLE_ELECTRON_MASS_RATIO (error )
143143 type (error_type), allocatable , intent (out ) :: error
144- call check(error, 0.00000017d0 - ALPHA_PARTICLE_ELECTRON_MASS_RATIO% to_real(1.0_dp , uncertainty= .true. ), 0.0_dp )
144+ call check(error, ALPHA_PARTICLE_ELECTRON_MASS_RATIO% to_real(1.0_dp , uncertainty= .true. ), 0.00000017d0 )
145145 if (allocated (error)) return
146146end subroutine
147147
148148subroutine test_U_ALPHA_PARTICLE_MASS (error )
149149 type (error_type), allocatable , intent (out ) :: error
150- call check(error, 0.0000000021d-27 - ALPHA_PARTICLE_MASS% to_real(1.0_dp , uncertainty= .true. ), 0.0_dp )
150+ call check(error, ALPHA_PARTICLE_MASS% to_real(1.0_dp , uncertainty= .true. ), 0.0000000021d-27 )
151151 if (allocated (error)) return
152152end subroutine
153153
154154subroutine test_U_ATOMIC_MASS_CONSTANT (error )
155155 type (error_type), allocatable , intent (out ) :: error
156- call check(error, 0.00000000052d-27 - ATOMIC_MASS_CONSTANT% to_real(1.0_dp , uncertainty= .true. ), 0.0_dp )
156+ call check(error, ATOMIC_MASS_CONSTANT% to_real(1.0_dp , uncertainty= .true. ), 0.00000000052d-27 )
157157 if (allocated (error)) return
158158end subroutine
159159
@@ -189,7 +189,7 @@ subroutine test_U_FARADAY_CONSTANT(error)
189189
190190subroutine test_U_MOLAR_MASS_CONSTANT (error )
191191 type (error_type), allocatable , intent (out ) :: error
192- call check(error, 0.00000000031d-3 - MOLAR_MASS_CONSTANT% to_real(1.0_dp , uncertainty= .true. ), 0.0_dp )
192+ call check(error, MOLAR_MASS_CONSTANT% to_real(1.0_dp , uncertainty= .true. ), 0.00000000031d-3 )
193193 if (allocated (error)) return
194194end subroutine
195195
0 commit comments