Changeset 2662 for inundation/utilities/test_cg_solve.py
- Timestamp:
- Apr 5, 2006, 4:05:03 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/utilities/test_cg_solve.py
r2638 r2662 43 43 x = [0.0, 0.0, 0.0, 0.0] 44 44 45 x = conjugate_gradient(A,b,x,iprint=0,imax=2) 45 try: 46 x = conjugate_gradient(A,b,x,iprint=0,imax=2) 47 except ConvergenceError: 48 pass 49 else: 50 raise 'Should have raised exception' 46 51 47 52 … … 181 186 if __name__ == "__main__": 182 187 suite = unittest.makeSuite(Test_CG_Solve,'test') 183 runner = unittest.TextTestRunner(verbosity=2) 188 #runner = unittest.TextTestRunner(verbosity=2) 189 runner = unittest.TextTestRunner(verbosity=1) 184 190 runner.run(suite) 185 191
Note: See TracChangeset
for help on using the changeset viewer.