Author: bugman Date: Sun Sep 14 14:46:58 2014 New Revision: 25828 URL: http://svn.gna.org/viewcvs/relax?rev=25828&view=rev Log: Created the Frame_order.test_count_sobol_points2 system test. This checks the operation of the frame_order.count_sobol_points user function. As this user function has not been implemented yet, the test currently fails. 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=25828&r1=25827&r2=25828&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 14:46:58 2014 @@ -959,6 +959,23 @@ self.assertEqual(cdp.used_sobol_points, 258) + def test_count_sobol_points2(self): + """Test the frame_order.count_sobol_points user function.""" + + # Reset. + self.interpreter.reset() + + # Load the state file. + data_path = status.install_path + sep+'test_suite'+sep+'shared_data'+sep+'frame_order'+sep+'axis_permutations' + self.interpreter.state.load(data_path+sep+'cam_pseudo_ellipse') + + # Call the user function. + self.interpreter.frame_order.count_sobol_points() + + # Check the count. + self.assertEqual(cdp.used_sobol_points, 258) + + 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."""