mailr4850 - /1.3/test_suite/unit_tests/_generic_fns/test_value.py


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

Header


Content

Posted by edward on January 17, 2008 - 23:33:
Author: bugman
Date: Thu Jan 17 23:33:55 2008
New Revision: 4850

URL: http://svn.gna.org/viewcvs/relax?rev=4850&view=rev
Log:
Fixes for the unit tests of the partition_params() function.


Modified:
    1.3/test_suite/unit_tests/_generic_fns/test_value.py

Modified: 1.3/test_suite/unit_tests/_generic_fns/test_value.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/test_suite/unit_tests/_generic_fns/test_value.py?rev=4850&r1=4849&r2=4850&view=diff
==============================================================================
--- 1.3/test_suite/unit_tests/_generic_fns/test_value.py (original)
+++ 1.3/test_suite/unit_tests/_generic_fns/test_value.py Thu Jan 17 23:33:55 
2008
@@ -48,7 +48,7 @@
         val = [0.8]
 
         # Partition.
-        spin_params, spin_values, other_params, other_values = 
value.partition_params(val, param)
+        spin_params, spin_values, other_params, other_values, model_values = 
value.partition_params(val, param)
 
         # Tests.
         self.assertEqual(spin_params, ['S2'])
@@ -68,7 +68,7 @@
         val = [1e7]
 
         # Partition.
-        spin_params, spin_values, other_params, other_values = 
value.partition_params(val, param)
+        spin_params, spin_values, other_params, other_values, model_values = 
value.partition_params(val, param)
 
         # Tests.
         self.assertEqual(spin_params, [])
@@ -88,7 +88,7 @@
         val = [1e7, 0.8]
 
         # Partition.
-        spin_params, spin_values, other_params, other_values = 
value.partition_params(val, param)
+        spin_params, spin_values, other_params, other_values, model_values = 
value.partition_params(val, param)
 
         # Tests.
         self.assertEqual(spin_params, ['S2'])
@@ -108,7 +108,7 @@
         val = [1e7, 0.8, -160e-6]
 
         # Partition.
-        spin_params, spin_values, other_params, other_values = 
value.partition_params(val, param)
+        spin_params, spin_values, other_params, other_values, model_values = 
value.partition_params(val, param)
 
         # Tests.
         self.assertEqual(spin_params, ['S2', 'CSA'])
@@ -128,7 +128,7 @@
         val = [1e7, 0.8, 2e7, -160e-6, 0.13]
 
         # Partition.
-        spin_params, spin_values, other_params, other_values = 
value.partition_params(val, param)
+        spin_params, spin_values, other_params, other_values, model_values = 
value.partition_params(val, param)
 
         # Tests.
         self.assertEqual(spin_params, ['S2', 'CSA'])
@@ -148,7 +148,7 @@
         val = []
 
         # Partition.
-        spin_params, spin_values, other_params, other_values = 
value.partition_params(val, param)
+        spin_params, spin_values, other_params, other_values, model_values = 
value.partition_params(val, param)
 
         # Tests.
         self.assertEqual(spin_params, [])




Related Messages


Powered by MHonArc, Updated Fri Jan 18 00:20:23 2008