Author: bugman
Date: Thu Jan  3 18:06:21 2008
New Revision: 4288

URL: http://svn.gna.org/viewcvs/relax?rev=4288&view=rev
Log:
Slackened the testing of floats in a parameter setting unit test.


Modified:
    1.3/test_suite/unit_tests/value_testing_base.py

Modified: 1.3/test_suite/unit_tests/value_testing_base.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/test_suite/unit_tests/value_testing_base.py?rev=4288&r1=4287&r2=4288&view=diff
==============================================================================
--- 1.3/test_suite/unit_tests/value_testing_base.py (original)
+++ 1.3/test_suite/unit_tests/value_testing_base.py Thu Jan  3 18:06:21 2008
@@ -1496,8 +1496,8 @@
         self.value_fns.set(param='bond-Length')
 
         # Test the parameter.
-        self.assertEqual(cdp.mol[0].res[0].spin[0].r, 1.02e-10)
-        self.assertEqual(cdp.mol[0].res[1].spin[0].r, 1.02e-10)
+        self.assertAlmostEqual(cdp.mol[0].res[0].spin[0].r, 1.02e-10)
+        self.assertAlmostEqual(cdp.mol[0].res[1].spin[0].r, 1.02e-10)
 
 
     def test_set_jw_defaults_csa(self):


_______________________________________________
relax (http://nmr-relax.com)

This is the relax-commits mailing list
relax-commits@gna.org

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits

Reply via email to