Changeset 4393
- Timestamp:
- Apr 18, 2007, 10:42:33 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/abstract_2d_finite_volumes/test_domain.py
r4171 r4393 491 491 'set region failed') 492 492 493 494 def test_track_speeds(self): 495 """ 496 get values based on triangle lists. 497 """ 498 from mesh_factory import rectangular 499 from shallow_water import Domain 500 from Numeric import zeros, Float 501 502 #Create basic mesh 503 points, vertices, boundary = rectangular(1, 3) 504 505 #Create shallow water domain 506 domain = Domain(points, vertices, boundary) 507 domain.write_time(track_speeds=True) 493 508 494 509 … … 592 607 #------------------------------------------------------------- 593 608 if __name__ == "__main__": 594 suite = unittest.makeSuite(Test_Domain,'test') 609 # suite = unittest.makeSuite(Test_Domain,'test') 610 suite = unittest.makeSuite(Test_Domain,'test_track_speeds') 595 611 runner = unittest.TextTestRunner() 596 612 runner.run(suite)
Note: See TracChangeset
for help on using the changeset viewer.