/[escript]/trunk/downunder/test/python/run_forward.py
ViewVC logotype

Diff of /trunk/downunder/test/python/run_forward.py

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

revision 5067 by sshaw, Fri Jun 20 06:04:58 2014 UTC revision 5148 by caltinay, Mon Sep 15 01:25:23 2014 UTC
# Line 114  class TestAcousticInversion(unittest.Tes Line 114  class TestAcousticInversion(unittest.Tes
114          args=acw.getArguments(sigma_comps)          args=acw.getArguments(sigma_comps)
115          d=acw.getDefect(sigma_comps, *args)          d=acw.getDefect(sigma_comps, *args)
116          self.assertTrue(isinstance(d, float))          self.assertTrue(isinstance(d, float))
117          self.assertTrue(abs(d) < 1e-10)          self.assertLess(abs(d), 1e-10)
118    
119          dg=acw.getGradient(sigma_comps, *args)          dg=acw.getGradient(sigma_comps, *args)
120          self.assertTrue(isinstance(dg, Data))          self.assertTrue(isinstance(dg, Data))

Legend:
Removed from v.5067  
changed lines
  Added in v.5148

  ViewVC Help
Powered by ViewVC 1.1.26