/[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 742 by jonathan, Fri Apr 25 09:14:41 2003 UTC revision 752 by jonathan, Fri Apr 25 14:23:34 2003 UTC
# Line 162  class TestProjFile(unittest.TestCase, su Line 162  class TestProjFile(unittest.TestCase, su
162          eq(projs[1], proj1)          eq(projs[1], proj1)
163          eq(projs[2], proj2)          eq(projs[2], proj2)
164    
165            #
166            # SetAllParameters()
167            # SetName()
168            # SetProjection()
169            #
170            params = ["proj=utm", "ellps=clrk66", "zone=13"]
171            proj0.SetAllParameters(params)
172            eq(proj0.GetAllParameters(), params)
173            
174            proj2.SetName("something")
175            proj0.SetProjection(proj2)
176            eq(proj0.GetName(), "something")
177            eq(proj0.GetAllParameters(), proj2.GetAllParameters())
178    
179      def testRead(self):      def testRead(self):
180          """Test ReadProjFile"""          """Test ReadProjFile"""
181    

Legend:
Removed from v.742  
changed lines
  Added in v.752

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26