Author: bugman Date: Sun Sep 14 16:51:00 2014 New Revision: 25844 URL: http://svn.gna.org/viewcvs/relax?rev=25844&view=rev Log: Created the Frame_order.test_count_sobol_points_iso_cone_free_rotor system test. This is to test the frame_order.count_sobol_points user function for the free-rotor isotropic cone 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=25844&r1=25843&r2=25844&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 16:51:00 2014 @@ -993,6 +993,23 @@ self.assertEqual(cdp.used_sobol_points, 10000) + def test_count_sobol_points_iso_cone_free_rotor(self): + """Test the frame_order.count_sobol_points user function for the free-rotor isotropic cone 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+'iso_cone_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, 2297) + + def test_count_sobol_points_rigid(self): """Test the frame_order.count_sobol_points user function for the rigid model."""