mailr4564 - /branches/N_state_model/test_suite/unit_tests/_prompt/test_n_state_model.py


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

Header


Content

Posted by edward on January 09, 2008 - 17:34:
Author: bugman
Date: Wed Jan  9 17:34:50 2008
New Revision: 4564

URL: http://svn.gna.org/viewcvs/relax?rev=4564&view=rev
Log:
Added the framework for the user function arg unit tests of the N-state model.


Added:
    branches/N_state_model/test_suite/unit_tests/_prompt/test_n_state_model.py

Added: 
branches/N_state_model/test_suite/unit_tests/_prompt/test_n_state_model.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/N_state_model/test_suite/unit_tests/_prompt/test_n_state_model.py?rev=4564&view=auto
==============================================================================
--- 
branches/N_state_model/test_suite/unit_tests/_prompt/test_n_state_model.py 
(added)
+++ 
branches/N_state_model/test_suite/unit_tests/_prompt/test_n_state_model.py 
Wed Jan  9 17:34:50 2008
@@ -1,0 +1,42 @@
+###############################################################################
+#                                                                            
 #
+# Copyright (C) 2008 Edward d'Auvergne                                       
 #
+#                                                                            
 #
+# This file is part of the program relax.                                    
 #
+#                                                                            
 #
+# relax is free software; you can redistribute it and/or modify              
 #
+# it under the terms of the GNU General Public License as published by       
 #
+# the Free Software Foundation; either version 2 of the License, or          
 #
+# (at your option) any later version.                                        
 #
+#                                                                            
 #
+# relax is distributed in the hope that it will be useful,                   
 #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of             
 #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the              
 #
+# GNU General Public License for more details.                               
 #
+#                                                                            
 #
+# You should have received a copy of the GNU General Public License          
 #
+# along with relax; if not, write to the Free Software                       
 #
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA  
 #
+#                                                                            
 #
+###############################################################################
+
+# Python module imports.
+from unittest import TestCase
+
+# relax module imports.
+from prompt.n_state_model import N_state_model
+from test_suite.unit_tests.n_state_model_testing_base import 
N_state_model_base_class
+
+# Unit test imports.
+from data_types import DATA_TYPES
+import fake_relax
+
+
+class Test_n_state_model(N_state_model_base_class, TestCase):
+    """Unit tests for the functions of the 'prompt.n_state_model' module."""
+
+    # Instantiate the user function class.
+    n_state_model_fns = N_state_model(fake_relax.fake_instance())
+
+
+




Related Messages


Powered by MHonArc, Updated Wed Jan 09 18:00:12 2008