Author: bugman
Date: Sun Sep 14 15:01:35 2014
New Revision: 25831

URL: http://svn.gna.org/viewcvs/relax?rev=25831&view=rev
Log:
Created the Frame_order.test_count_sobol_points_rigid system test.

This is to demonstrate a failure of the frame_order.test_count_sobol_points 
user function when
applied to the rigid frame order model.


Modified:
    branches/frame_order_cleanup/test_suite/system_tests/frame_order.py

Modified: branches/frame_order_cleanup/test_suite/system_tests/frame_order.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/frame_order_cleanup/test_suite/system_tests/frame_order.py?rev=25831&r1=25830&r2=25831&view=diff
==============================================================================
--- branches/frame_order_cleanup/test_suite/system_tests/frame_order.py 
(original)
+++ branches/frame_order_cleanup/test_suite/system_tests/frame_order.py Sun Sep 
14 15:01:35 2014
@@ -976,6 +976,23 @@
         self.assertEqual(cdp.used_sobol_points, 12)
 
 
+    def test_count_sobol_points_rigid(self):
+        """Test the frame_order.count_sobol_points user function for the rigid 
model."""
+
+        # Reset.
+        self.interpreter.reset()
+
+        # Load the state file.
+        data_path = status.install_path + 
sep+'test_suite'+sep+'shared_data'+sep+'frame_order'+sep+'cam'+sep+'rigid'
+        self.interpreter.state.load(data_path+sep+'frame_order')
+
+        # Call the user function.
+        self.interpreter.frame_order.count_sobol_points()
+
+        # Check the count.
+        self.assertEqual(cdp.used_sobol_points, 0)
+
+
     def test_frame_order_pdb_model_failed_pivot(self):
         """Test the operation of the frame_order.pdb_model user function when 
the pivot is outside of the PDB limits."""
 


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

This is the relax-commits mailing list
[email protected]

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