mailr25834 - /branches/frame_order_cleanup/test_suite/system_tests/frame_order.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on September 14, 2014 - 15:11:
Author: bugman
Date: Sun Sep 14 15:11:49 2014
New Revision: 25834

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

This is to test the frame_order.count_sobol_points user function for the 
rotor 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=25834&r1=25833&r2=25834&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:11:49 2014
@@ -993,6 +993,23 @@
         self.assert_(not hasattr(cdp, 'used_sobol_points'))
 
 
+    def test_count_sobol_points_rotor(self):
+        """Test the frame_order.count_sobol_points user function for the 
rotor 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+'rotor'
+        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, 12)
+
+
     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."""
 




Related Messages


Powered by MHonArc, Updated Sun Sep 14 15:20:02 2014