Author: tlinnet Date: Mon May 26 13:38:11 2014 New Revision: 23415 URL: http://svn.gna.org/viewcvs/relax?rev=23415&view=rev Log: Added the 8th unit tests demonstrating edge case 'no Rex' failures of the model 'B14'. This follows from the ideas in the post http://article.gmane.org/gmane.science.nmr.relax.devel/5858. This is related to: task #7793: (https://gna.org/task/?7793) Speed-up of dispersion models. This is to implement catching of math domain errors, before they occur. These tests cover all parameter value combinations which result in no exchange: - dw = 0.0, - pA = 1.0, - kex = 0.0, - dw = 0.0 and pA = 1.0, - dw = 0.0 and kex = 0.0, - pA = 1.0 and kex = 0.0, - dw = 0.0, pA = 1.0, and kex = 0.0. - kex = 1e5, Modified: branches/disp_speed/test_suite/unit_tests/_lib/_dispersion/test_b14.py Modified: branches/disp_speed/test_suite/unit_tests/_lib/_dispersion/test_b14.py URL: http://svn.gna.org/viewcvs/relax/branches/disp_speed/test_suite/unit_tests/_lib/_dispersion/test_b14.py?rev=23415&r1=23414&r2=23415&view=diff ============================================================================== --- branches/disp_speed/test_suite/unit_tests/_lib/_dispersion/test_b14.py (original) +++ branches/disp_speed/test_suite/unit_tests/_lib/_dispersion/test_b14.py Mon May 26 13:38:11 2014 @@ -169,3 +169,13 @@ # Calculate and check the R2eff values. self.calc_r2eff() + + + def test_b14_no_rex8(self): + """Test the r2eff_b14() function for no exchange when kex = 1e5.""" + + # Parameter reset. + self.kex = 1e5 + + # Calculate and check the R2eff values. + self.calc_r2eff()