Skip to content

Commit

Permalink
Adding test for bromide diffusion
Browse files Browse the repository at this point in the history
  • Loading branch information
anaegel committed Jun 14, 2024
1 parent 165468f commit a0564e3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/integration/test-solvers.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ def main():
class TestAll(unittest.TestCase):
def setUp(self):
os.environ['PYVISTA_OFF_SCREEN'] = "True"
set_test_dir("content/tutorial-solver")

def tearDown(self):
set_test_dir("../..")
Expand All @@ -74,10 +73,16 @@ def tearDown(self):
# self.assertEqual(test_dir("content/tutorial-solver"), True, "Must return true")

def test_smoothers(self):
set_test_dir("content/tutorial-solver")
self.assertEqual(test_file("example01-smoothers.py"), 0, "Must return true")

def test_multigrid(self):
set_test_dir("content/tutorial-solver")
self.assertEqual(test_file("example03-multigrid.py"), 0, "Must return true")

def test_bromide(self):
set_test_dir("content/brom")
self.assertEqual(test_file("BromDiffusion.py"), 0, "Must return true")

if __name__ == "__main__":
# main()
Expand Down

0 comments on commit a0564e3

Please sign in to comment.