/[escript]/trunk/pycad/test/python/run_pycad_test.py
ViewVC logotype

Diff of /trunk/pycad/test/python/run_pycad_test.py

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

revision 3773 by jfenwick, Fri Aug 19 03:53:41 2011 UTC revision 3774 by jfenwick, Wed Jan 18 06:29:34 2012 UTC
# Line 3697  class Test_PyCAD_Design(unittest.TestCas Line 3697  class Test_PyCAD_Design(unittest.TestCas
3697    
3698         t=m.getMapping()         t=m.getMapping()
3699         self.assertTrue(len(t)==4)         self.assertTrue(len(t)==4)
3700         self.assertTrue(t.has_key(1))         self.assertTrue(1 in t)
3701         self.assertTrue(t.has_key(4))         self.assertTrue(4 in t)
3702         self.assertTrue(t.has_key(5))         self.assertTrue(5 in t)
3703         self.assertTrue(t.has_key(6))         self.assertTrue(6 in t)
3704         self.assertTrue(t[1] == "c")         self.assertTrue(t[1] == "c")
3705         self.assertTrue(t[4] == "x")         self.assertTrue(t[4] == "x")
3706         self.assertTrue(t[5] == "x")         self.assertTrue(t[5] == "x")
# Line 3724  class Test_PyCAD_Design(unittest.TestCas Line 3724  class Test_PyCAD_Design(unittest.TestCas
3724         m2.fillFromXML(mxml)         m2.fillFromXML(mxml)
3725         t=m2.getMapping()         t=m2.getMapping()
3726         self.assertTrue(len(t)==4)         self.assertTrue(len(t)==4)
3727         self.assertTrue(t.has_key(1))         self.assertTrue(1 in t)
3728         self.assertTrue(t.has_key(4))         self.assertTrue(4 in t)
3729         self.assertTrue(t.has_key(5))         self.assertTrue(5 in t)
3730         self.assertTrue(t.has_key(6))         self.assertTrue(6 in t)
3731         self.assertTrue(t[1] == "c")         self.assertTrue(t[1] == "c")
3732         self.assertTrue(t[4] == "x")         self.assertTrue(t[4] == "x")
3733         self.assertTrue(t[5] == "x")         self.assertTrue(t[5] == "x")

Legend:
Removed from v.3773  
changed lines
  Added in v.3774

  ViewVC Help
Powered by ViewVC 1.1.26