/[thuban]/branches/WIP-pyshapelib-bramz/test/test_proj.py
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/test/test_proj.py

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

revision 698 by jonathan, Wed Apr 16 16:40:18 2003 UTC revision 714 by jonathan, Wed Apr 23 08:47:05 2003 UTC
# Line 48  class TestProjection(unittest.TestCase, Line 48  class TestProjection(unittest.TestCase,
48                                    3875381.8535437919, 252962.10480170773),                                    3875381.8535437919, 252962.10480170773),
49                                   epsilon = 1e-5)                                   epsilon = 1e-5)
50    
51            self.assertEquals(proj.GetParameter("zone"), "26")
52            self.assertEquals(proj.GetParameter("proj"), "utm")
53            self.assertEquals(proj.GetParameter("ellps"), "clrk66")
54            self.assertEquals(proj.GetParameter("hallo"), "")
55    
56    
57  sample_projfile = '''\  sample_projfile = '''\
# Line 149  class TestProjFile(unittest.TestCase, su Line 153  class TestProjFile(unittest.TestCase, su
153    
154          for proj, d in zip(pf.GetProjections(), data):          for proj, d in zip(pf.GetProjections(), data):
155              eq(proj.GetName(), d[0])              eq(proj.GetName(), d[0])
156              for param in proj.GetParameters():              for param in proj.GetAllParameters():
157                  self.assert_(param in d[1])                  self.assert_(param in d[1])
158    
159    

Legend:
Removed from v.698  
changed lines
  Added in v.714

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26