/[escript]/trunk/escript/test/python/run_xml.py
ViewVC logotype

Diff of /trunk/escript/test/python/run_xml.py

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

revision 871 by elspeth, Sat Oct 14 08:25:54 2006 UTC revision 874 by elspeth, Tue Oct 17 12:06:11 2006 UTC
# Line 208  class ParamaterSetTestCase(unittest.Test Line 208  class ParamaterSetTestCase(unittest.Test
208          assert doc.numtest.type() == numarray.Float64          assert doc.numtest.type() == numarray.Float64
209          assert type(doc.numtest) == numarray.NumArray          assert type(doc.numtest) == numarray.NumArray
210    
211        def testLists(self):
212            p4 = ParameterSet()
213            mylist = [True, False, False, True]
214            p4.declareParameter(listest=mylist)
215            doc = self._class(p4)
216            assert type(doc.listest) == list
217            self.assertEquals(mylist, doc.listest)
218            assert type(doc.listest[0]) == bool
219            
220                    
221  class ModeltoDomTestCase(unittest.TestCase):  class ModeltoDomTestCase(unittest.TestCase):
222            

Legend:
Removed from v.871  
changed lines
  Added in v.874

  ViewVC Help
Powered by ViewVC 1.1.26