- Timestamp:
- Feb 6, 2015, 12:03:23 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/anuga/utilities/tests/test_spatialInputUtil.py
r9513 r9617 12 12 import numpy 13 13 import os 14 import sys 14 15 from anuga.shallow_water.shallow_water_domain import Domain 15 16 from anuga.utilities import plot_utils as util … … 158 159 # Test conversion to-from Wkb 159 160 161 # Only run test if python >= 2.7 162 if sys.hexversion < 0x02070000: return 163 160 164 seg=[ [0., -2., 1.], [100., -100., 2.], [10., 8., 3.], [0., -2., 1.]] 161 165 seg_Wkb=su.ListPts2Wkb(seg,geometry_type='line') … … 228 232 # 229 233 # Make an intersection, check it works 234 235 # Only run if python >= 2.7 236 if sys.hexversion < 0x02070000: return 237 238 230 239 seg1=[ [-10., 0.], [10., 0.]] 231 240 seg2=[ [0., -10.], [0., 10.]] … … 362 371 def test_add_intersections_to_domain_features(self): 363 372 373 # Only run test if python >= 2.7 374 if sys.hexversion < 0x02070000: return 375 364 376 bounding_polygon=[ [0., 0.], [0., 10.], [10., 10.], [10., 0.]] 365 377
Note: See TracChangeset
for help on using the changeset viewer.