- Timestamp:
- Oct 4, 2006, 11:00:56 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/abstract_2d_finite_volumes/test_general_mesh.py
r3560 r3689 18 18 def tearDown(self): 19 19 pass 20 21 22 def test_get_vertex_coordinates(self): 23 from mesh_factory import rectangular 24 from Numeric import zeros, Float 25 26 #Create basic mesh 27 points, vertices, boundary = rectangular(1, 3) 28 domain = General_mesh(points, vertices, boundary) 29 30 assert allclose(domain.get_vertex_coordinates(unique=True), domain.coordinates) 31 32 #assert allclose(domain.get_vertex_coordinates(), ...TODO 33 #assert allclose(domain.get_vertex_coordinates(absolute=True), ...TODO 34 35 20 36 21 37 def test_get_vertex_values(self): … … 67 83 assert unique_vertices == [0,2,4,5,6,7] 68 84 85 86 87 69 88 #------------------------------------------------------------- 70 89 if __name__ == "__main__":
Note: See TracChangeset
for help on using the changeset viewer.