/[escript]/trunk/escriptcore/test/python/test_util.py
ViewVC logotype

Diff of /trunk/escriptcore/test/python/test_util.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 6448 by jfenwick, Tue Dec 13 06:25:52 2016 UTC revision 6449 by jfenwick, Wed Dec 14 01:01:48 2016 UTC
# Line 39  to run the use: Line 39  to run the use:
39     suite.addTest(unittest.makeSuite(Test_utilOnBruce))     suite.addTest(unittest.makeSuite(Test_utilOnBruce))
40     unittest.TextTestRunner(verbosity=2).run(suite)     unittest.TextTestRunner(verbosity=2).run(suite)
41    
 For function spaces which support tagging there is the extended test case Test_util_with_tagged_data available.  
42  This test assumes that samples with x_0 coordinate 0 are tagged with 1 and all samples tagged with 1 have x_0  This test assumes that samples with x_0 coordinate 0 are tagged with 1 and all samples tagged with 1 have x_0
43  coordinate 0.  coordinate 0.
44    
# Line 63  from test_util_base import Test_util_bas Line 62  from test_util_base import Test_util_bas
62    
63  from test_util_reduction_new import Test_util_reduction_new  from test_util_reduction_new import Test_util_reduction_new
64    
 from test_util_reduction_no_tagged_data import Test_util_reduction_no_tagged_data  
 from test_util_reduction_with_tagged_data import Test_util_reduction_with_tagged_data  
65  from test_util_overloaded_binary_no_tagged_data import Test_util_overloaded_binary_no_tagged_data  from test_util_overloaded_binary_no_tagged_data import Test_util_overloaded_binary_no_tagged_data
66  from test_util_overloaded_binary_with_tagged_data import Test_util_overloaded_binary_with_tagged_data  from test_util_overloaded_binary_with_tagged_data import Test_util_overloaded_binary_with_tagged_data
67  from test_util_unary_no_tagged_data import Test_util_unary_no_tagged_data  from test_util_unary_no_tagged_data import Test_util_unary_no_tagged_data
# Line 92  class Test_util_binary(Test_util_binary_ Line 89  class Test_util_binary(Test_util_binary_
89  class Test_util_overloaded_binary(Test_util_overloaded_binary_no_tagged_data,Test_util_overloaded_binary_with_tagged_data):  class Test_util_overloaded_binary(Test_util_overloaded_binary_no_tagged_data,Test_util_overloaded_binary_with_tagged_data):
90     """test for all overloaded operation"""     """test for all overloaded operation"""
91     pass     pass
92  class Test_util_with_tagged_data(Test_util_unary_with_tagged_data,Test_util_reduction_with_tagged_data,Test_util_binary_with_tagged_data,  class Test_util_with_tagged_data(Test_util_unary_with_tagged_data,Test_util_binary_with_tagged_data,
93    Test_util_overloaded_binary_with_tagged_data,Test_util_slicing_with_tagged_data):    Test_util_overloaded_binary_with_tagged_data,Test_util_slicing_with_tagged_data):
94     """test for all operations without tagged data"""     """test for all operations without tagged data"""
95     pass     pass
96  class Test_util_no_tagged_data(Test_util_unary_no_tagged_data,Test_util_reduction_no_tagged_data,Test_util_binary_no_tagged_data,  class Test_util_no_tagged_data(Test_util_unary_no_tagged_data,Test_util_binary_no_tagged_data,
97    Test_util_overloaded_binary_no_tagged_data, Test_util_slicing_no_tagged_data):    Test_util_overloaded_binary_no_tagged_data, Test_util_slicing_no_tagged_data):
98     """all tests without tagged data"""     """all tests without tagged data"""
99     pass     pass

Legend:
Removed from v.6448  
changed lines
  Added in v.6449

  ViewVC Help
Powered by ViewVC 1.1.26