Changeset 9462
- Timestamp:
- Jan 21, 2015, 4:54:15 PM (10 years ago)
- Location:
- trunk/anuga_core/source/anuga/geometry/test
- Files:
-
- 1 added
- 3 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga/geometry/test/test_geometry.py
r9459 r9462 6 6 import unittest 7 7 8 from a abb import AABB9 from quad import Cell8 from anuga.geometry.aabb import AABB 9 from anuga.geometry.quad import Cell 10 10 11 11 #------------------------------------------------------------- -
trunk/anuga_core/source/anuga/geometry/test/test_polygon.py
r9459 r9462 4 4 5 5 import unittest 6 import os 6 7 import numpy as num 7 8 from anuga.utilities.numerical_tools import ensure_numeric … … 72 73 73 74 # Form absolute filename and read 74 filename = path + sep + 'data' + sep + 'mainland_only.csv'75 filename = os.path.join( path, 'test', 'data', 'mainland_only.csv') 75 76 p1 = read_polygon(filename) 76 77 … … 87 88 88 89 # Form absolute filename and read 89 filename = path + sep + 'data' + sep + 'complex_polygon.csv'90 filename = os.path.join( path, 'test', 'data', 'complex_polygon.csv') 90 91 # Should cause an Exception 91 92 try: … … 105 106 106 107 # Form absolute filename and read 107 filename = path + sep + 'data' + sep + 'non_complex_polygon.csv'108 filename = os.path.join( path, 'test', 'data', 'non_complex_polygon.csv') 108 109 # Should cause an Exception 109 110 try: … … 120 121 121 122 # Form absolute filename and read 122 filename = path + sep + 'data' + sep + 'complex_polygon.csv'123 filename = os.path.join( path, 'test', 'data', 'complex_polygon.csv') 123 124 # Should not cause an Exception 124 125 p1 = read_polygon(filename, closed=False)
Note: See TracChangeset
for help on using the changeset viewer.