Changeset 8058
- Timestamp:
- Oct 30, 2010, 6:18:50 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga/geometry/test_polygon.py
r8054 r8058 79 79 80 80 assert num.allclose(z, [0, 10]) 81 82 def test_read_polygon_complex(self): 83 from os import sep, getenv 84 85 # Get path where this test is run 86 path = get_pathname_from_package('anuga.utilities') 87 88 # Form absolute filename and read 89 filename = path + sep + 'complex_polygon.csv' 90 # Should cause an Exception 91 p1 = read_polygon(filename) 92 93 94 def test_read_polygon_open_complex(self): 95 from os import sep, getenv 96 97 # Get path where this test is run 98 path = get_pathname_from_package('anuga.utilities') 99 100 # Form absolute filename and read 101 filename = path + sep + 'complex_polygon.csv' 102 # Should not cause an Exception 103 p1 = read_polygon(filename, closed=False) 81 104 82 105 def test_polygon_function_georef(self):
Note: See TracChangeset
for help on using the changeset viewer.