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

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

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

revision 6545 by jfenwick, Fri Mar 24 00:21:35 2017 UTC revision 6546 by jfenwick, Mon Mar 27 00:00:49 2017 UTC
# Line 100  class Test_util_binary_new(Test_util_val Line 100  class Test_util_binary_new(Test_util_val
100                  res.itemset(xa+xb,a.item(xa)*b.item(xb))                  res.itemset(xa+xb,a.item(xa)*b.item(xb))
101          return res              return res    
102            
103           #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
104       def test_add_combined(self):
105           opstring='a+b'
106           misccheck='isinstance(res, Data) if isinstance(a, Data) or isinstance(b, Data) else True' # doesn't cover all cases;
107           oraclecheck="refa+refb"
108           opname="add"
109           noshapemismatch=True
110           permitscalarmismatch=True
111           permit_array_op_data=False
112           self.generate_binary_operation_test_batch_large(opstring, misccheck, oraclecheck, opname, no_shape_mismatch=noshapemismatch, permit_scalar_mismatch=permitscalarmismatch, permit_array_op_data=permit_array_op_data)  
113     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
114     def test_inner_combined(self):     def test_inner_combined(self):
115         opstring='inner(a,b)'         opstring='inner(a,b)'

Legend:
Removed from v.6545  
changed lines
  Added in v.6546

  ViewVC Help
Powered by ViewVC 1.1.26