Changeset 3072 for inundation/pyvolution/test_mesh.py
- Timestamp:
- Jun 5, 2006, 12:03:41 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/pyvolution/test_mesh.py
r3057 r3072 944 944 'FAILED!') 945 945 946 def FIXME_test_mesh_get_boundary_polygon_with_georeferencing(self):946 def test_mesh_get_boundary_polygon_with_georeferencing(self): 947 947 948 948 # test … … 957 957 958 958 relative_points = geo.change_points_geo_ref(absolute_points) 959 #relative_points = absolute_points #uncomment to make test pass! 959 960 #print 'Relative', relative_points 961 #print 'Absolute', absolute_points 962 960 963 mesh = Mesh(relative_points, vertices, geo_reference=geo) 961 964 boundary_polygon = mesh.get_boundary_polygon() 965 962 966 assert allclose(absolute_points, boundary_polygon) 967 963 968 #------------------------------------------------------------- 964 969 if __name__ == "__main__": 965 #suite = unittest.makeSuite(Test_Mesh,'test_ boundary_polygon')970 #suite = unittest.makeSuite(Test_Mesh,'test_mesh_get_boundary_polygon_with_georeferencing') 966 971 suite = unittest.makeSuite(Test_Mesh,'test') 967 972 runner = unittest.TextTestRunner()
Note: See TracChangeset
for help on using the changeset viewer.