/[escript]/trunk/escriptcore/test/python/test_linearPDEs.py
ViewVC logotype

Diff of /trunk/escriptcore/test/python/test_linearPDEs.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3103 by gross, Tue Aug 24 07:01:33 2010 UTC revision 3160 by gross, Mon Sep 6 09:17:28 2010 UTC
# Line 666  class Test_LinearPDE_noLumping(Test_line Line 666  class Test_LinearPDE_noLumping(Test_line
666          so.setMinCoarseMatrixSize(1000)          so.setMinCoarseMatrixSize(1000)
667          self.failUnless(so.getMinCoarseMatrixSize() == 1000, "Minimum Coarse Matrix Size is wrong.")          self.failUnless(so.getMinCoarseMatrixSize() == 1000, "Minimum Coarse Matrix Size is wrong.")
668    
669          self.failUnless(so.getNumSweeps() == 2, "initial  Sweeps is wrong.")          self.failUnless(so.getNumSweeps() == 1, "initial  Sweeps is wrong.")
670          self.failUnlessRaises(ValueError,so.setNumSweeps,-1)          self.failUnlessRaises(ValueError,so.setNumSweeps,-1)
671          so.setNumSweeps(3)          so.setNumSweeps(3)
672          self.failUnless(so.getNumSweeps() == 3, "Sweeps is wrong.")          self.failUnless(so.getNumSweeps() == 3, "Sweeps is wrong.")

Legend:
Removed from v.3103  
changed lines
  Added in v.3160

  ViewVC Help
Powered by ViewVC 1.1.26