- Timestamp:
- Jun 25, 2007, 1:38:05 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/shallow_water/test_data_manager.py
r4550 r4558 5749 5749 5750 5750 time = fid.variables['time'][:] 5751 assert allclose(time, [0. 5]) # the time is absolute5752 assert fid.starttime == 0. 05751 assert allclose(time, [0.0]) # the time is relative 5752 assert fid.starttime == 0.5 5753 5753 5754 5754 fid.close() 5755 5755 self.delete_mux(files) 5756 # ##print "sww_file", sww_file5756 #print "sww_file", sww_file 5757 5757 os.remove(sww_file) 5758 5758 … … 6355 6355 times = fid.variables['time'][:] 6356 6356 6357 times_actual = [0,100,200,300] # times used to be relative 6358 times_actual = [200,300,400,500] # now they are actual 6357 times_actual = [0,100,200,300] 6359 6358 6360 6359 assert allclose(ensure_numeric(times),
Note: See TracChangeset
for help on using the changeset viewer.