Changeset 2507 for inundation/pyvolution/test_data_manager.py
- Timestamp:
- Mar 9, 2006, 11:48:48 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/pyvolution/test_data_manager.py
r2492 r2507 798 798 z = x+2*y 799 799 #if j == 4: z = NODATA_value 800 if i == 1 and j == 2: z = NODATA_value 801 if i == 2 and j == 4: z = NODATA_value 802 if i == 3 and j == 3: z = NODATA_value 803 if i == 5 and j == 1: z = NODATA_value 800 #if i == 1 and j == 2: z = NODATA_value 801 #if i == 2 and j == 4: z = NODATA_value 802 #if i == 3 and j == 3: z = NODATA_value 803 #if i == 5 and j == 1: z = NODATA_value 804 if i == 0 and j == 0: z = NODATA_value 805 if i == 0 and j == 1: z = NODATA_value 806 if i == 0 and j == 2: z = NODATA_value 804 807 805 808 if z <> NODATA_value: … … 848 851 849 852 #Check values 850 853 #print 'points', points[:] 851 854 assert len(points) == len(new_ref_pts), 'length of returned points not correct' 852 855 assert allclose(points, new_ref_pts), 'points do not align' 853 856 857 #print 'elevation', elevation[:] 854 858 assert len(elevation) == len(new_ref_elev), 'length of returned elevation not correct' 855 859 assert allclose(elevation, new_ref_elev), 'elevations do not align'
Note: See TracChangeset
for help on using the changeset viewer.