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

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

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

revision 2281 by gross, Thu Oct 9 08:49:53 2008 UTC revision 2282 by jfenwick, Thu Feb 19 06:30:19 2009 UTC
# Line 76  class Test_Domain(unittest.TestCase): Line 76  class Test_Domain(unittest.TestCase):
76          r.setTaggedValue(1,1.)          r.setTaggedValue(1,1.)
77          s.setTaggedValue(tag2,2.)          s.setTaggedValue(tag2,2.)
78          r.setTaggedValue(2,2.)          r.setTaggedValue(2,2.)
79          s.setTaggedValue(tag3,3.)          self.failUnlessRaises(RuntimeError,s.setTaggedValue,tag3,3.)    #tag3 does not exist
80          self.failUnless(Lsup(s-r)<=0.)          self.failUnless(Lsup(s-r)<=0.)
81          # get tag:          # get tag:
82          names=getTagNames(self.domain)          names=getTagNames(self.domain)

Legend:
Removed from v.2281  
changed lines
  Added in v.2282

  ViewVC Help
Powered by ViewVC 1.1.26