Author: bugman Date: Sun Sep 14 15:41:15 2014 New Revision: 25838 URL: http://svn.gna.org/viewcvs/relax?rev=25838&view=rev Log: Created the Frame_order.test_count_sobol_points_free_rotor system test. This is to demonstrate that the frame_order.count_sobol_points user function currently fails for the free-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=25838&r1=25837&r2=25838&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:41:15 2014 @@ -976,6 +976,23 @@ self.assertEqual(cdp.used_sobol_points, 12) + def test_count_sobol_points_free_rotor(self): + """Test the frame_order.count_sobol_points user function for the free-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+'free_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, 5834) + + def test_count_sobol_points_rigid(self): """Test the frame_order.count_sobol_points user function for the rigid model."""