- Timestamp:
- Apr 10, 2008, 2:23:07 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/geospatial_data/test_geospatial_data.py
r5120 r5203 32 32 assert allclose(G.data_points, [[1.0, 2.1], [3.0, 5.3]]) 33 33 34 # Check __repr__35 34 # Check __repr__ 35 # FIXME (Ole): Is this really machine independent? 36 36 rep = `G` 37 37 ref = '[[ 1. 2.1]\n [ 3. 5.3]]' 38 assert rep == ref 39 38 39 msg = 'Representation %s is not equal to %s' %(rep, ref) 40 assert rep == ref, msg 40 41 41 42 #Check getter
Note: See TracChangeset
for help on using the changeset viewer.