File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 35223522 </font >
35233523 </property >
35243524 <property name =" text" >
3525- <string >Num. sph. sizes (2-101 )</string >
3525+ <string >Num. sph. sizes (2-201 )</string >
35263526 </property >
35273527 <property name =" buddy" >
35283528 <cstring >lineEdit_NSphere</cstring >
Original file line number Diff line number Diff line change @@ -244,10 +244,10 @@ ParameterValidationResult Parameters::CheckValidityDistributionParameters(int co
244244 result.errorMessage = " Discrete sphere size is 1! Use 'Mono Disperse'." ;
245245 return result;
246246 }
247- if ((nRadius < 2.0 ) ||(nRadius >101 .0 ))
247+ if ((nRadius < 2.0 ) ||(nRadius >201 .0 ))
248248 {
249249 result.isValid = false ;
250- result.errorMessage = " Number of sphere sizes is out of range! Enter a value between 2 and 101 ." ;
250+ result.errorMessage = " Number of sphere sizes is out of range! Enter a value between 2 and 201 ." ;
251251 return result;
252252 }
253253 if ((meanRadius < 0.0005 ) ||(meanRadius >25 ))
Original file line number Diff line number Diff line change @@ -266,11 +266,11 @@ void TestParameters::test_CheckValidityDistributionParameters_invalidNRadiusOne(
266266
267267// Test case: nRadius is out of range
268268void TestParameters::test_CheckValidityDistributionParameters_invalidNRadiusRange ()
269- {
270- mPara ->nRadius = 102 ;
269+ {
270+ mPara ->nRadius = 202 ;
271271 ParameterValidationResult result = mPara ->CheckValidityDistributionParameters (0 );
272272 QVERIFY (!result.isValid );
273- QCOMPARE (result.errorMessage , QString (" Number of sphere sizes is out of range! Enter a value between 2 and 101 ." ));
273+ QCOMPARE (result.errorMessage , QString (" Number of sphere sizes is out of range! Enter a value between 2 and 201 ." ));
274274}
275275
276276// Test case: mean radius is too large for distribution check
You can’t perform that action at this time.
0 commit comments