import unittest
import numpy as np
from anemoi import AnalyticalHelmholtz

class TestMiniZephyr(unittest.TestCase):

    def setUp(self):
        pass

    def test_forwardModelling(self):

        nx = 100
        nz = 200

        systemConfig = {
            'dx':       1.,     # m
            'dz':       1.,     # m
            'c':        2500.,  # m/s
            'nx':       nx,     # count
            'nz':       nz,     # count
            'freq':     2e2,    # Hz
        }

        Green = AnalyticalHelmholtz(systemConfig)
        u = Green(nx/2, nz/2)

if __name__ == '__main__':
    unittest.main()
import unittest
import numpy as np
from anemoi import AnalyticalHelmholtz

class TestAnalyticalHelmholtz(unittest.TestCase):

    def setUp(self):
        pass

    def test_cleanExecution(self):

        nx = 100
        nz = 200

        systemConfig = {
            'c':        2500.,  # m/s
            'nx':       nx,     # count
            'nz':       nz,     # count
            'freq':     2e2,    # Hz
        }

        Green = AnalyticalHelmholtz(systemConfig)
        u = Green(nx/2, nz/2)

if __name__ == '__main__':
    unittest.main()
Rename one test, use default dx and dz, fix naming of test class.
Rename one test, use default dx and dz, fix naming of test class.

  import unittest
  import numpy as np
  from anemoi import AnalyticalHelmholtz
  
- class TestMiniZephyr(unittest.TestCase):
+ class TestAnalyticalHelmholtz(unittest.TestCase):
  
      def setUp(self):
          pass
  
-     def test_forwardModelling(self):
+     def test_cleanExecution(self):
  
          nx = 100
          nz = 200
  
          systemConfig = {
-             'dx':       1.,     # m
-             'dz':       1.,     # m
              'c':        2500.,  # m/s
              'nx':       nx,     # count
              'nz':       nz,     # count
              'freq':     2e2,    # Hz
          }
  
          Green = AnalyticalHelmholtz(systemConfig)
          u = Green(nx/2, nz/2)
  
  if __name__ == '__main__':
      unittest.main()
Rename one test, use default dx and dz, fix naming of test class.
## Code Before:
import unittest
import numpy as np
from anemoi import AnalyticalHelmholtz

class TestMiniZephyr(unittest.TestCase):

    def setUp(self):
        pass

    def test_forwardModelling(self):

        nx = 100
        nz = 200

        systemConfig = {
            'dx':       1.,     # m
            'dz':       1.,     # m
            'c':        2500.,  # m/s
            'nx':       nx,     # count
            'nz':       nz,     # count
            'freq':     2e2,    # Hz
        }

        Green = AnalyticalHelmholtz(systemConfig)
        u = Green(nx/2, nz/2)

if __name__ == '__main__':
    unittest.main()
## Instruction:
Rename one test, use default dx and dz, fix naming of test class.
## Code After:
import unittest
import numpy as np
from anemoi import AnalyticalHelmholtz

class TestAnalyticalHelmholtz(unittest.TestCase):

    def setUp(self):
        pass

    def test_cleanExecution(self):

        nx = 100
        nz = 200

        systemConfig = {
            'c':        2500.,  # m/s
            'nx':       nx,     # count
            'nz':       nz,     # count
            'freq':     2e2,    # Hz
        }

        Green = AnalyticalHelmholtz(systemConfig)
        u = Green(nx/2, nz/2)

if __name__ == '__main__':
    unittest.main()