from pathlib import Path
import unittest

from mosartwmpy import Model
from mosartwmpy.grid.grid import Grid


class ModelTest(unittest.TestCase):
    """Test that the model initializes and runs with the default settings."""
    
    def setUp(self):
        self.model = Model()
        self.grid = Grid.from_files(Path('./mosartwmpy/tests/grid.zip'))

    def test_can_initialize_and_run(self):
        self.model.initialize(Path('./mosartwmpy/tests/test_config.yaml'), grid=self.grid)
        self.model.update()
        self.assertTrue(True, "model initializes and updates")


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

50a27915ef582a3a0c5e3608da94d408e6f04f9a
<mask token>


class ModelTest(unittest.TestCase):
    <mask token>

    def setUp(self):
        self.model = Model()
        self.grid = Grid.from_files(Path('./mosartwmpy/tests/grid.zip'))

    def test_can_initialize_and_run(self):
        self.model.initialize(Path('./mosartwmpy/tests/test_config.yaml'),
            grid=self.grid)
        self.model.update()
        self.assertTrue(True, 'model initializes and updates')


<mask token>

<mask token>


class ModelTest(unittest.TestCase):
    """Test that the model initializes and runs with the default settings."""

    def setUp(self):
        self.model = Model()
        self.grid = Grid.from_files(Path('./mosartwmpy/tests/grid.zip'))

    def test_can_initialize_and_run(self):
        self.model.initialize(Path('./mosartwmpy/tests/test_config.yaml'),
            grid=self.grid)
        self.model.update()
        self.assertTrue(True, 'model initializes and updates')


<mask token>

<mask token>


class ModelTest(unittest.TestCase):
    """Test that the model initializes and runs with the default settings."""

    def setUp(self):
        self.model = Model()
        self.grid = Grid.from_files(Path('./mosartwmpy/tests/grid.zip'))

    def test_can_initialize_and_run(self):
        self.model.initialize(Path('./mosartwmpy/tests/test_config.yaml'),
            grid=self.grid)
        self.model.update()
        self.assertTrue(True, 'model initializes and updates')


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

from pathlib import Path
import unittest
from mosartwmpy import Model
from mosartwmpy.grid.grid import Grid


class ModelTest(unittest.TestCase):
    """Test that the model initializes and runs with the default settings."""

    def setUp(self):
        self.model = Model()
        self.grid = Grid.from_files(Path('./mosartwmpy/tests/grid.zip'))

    def test_can_initialize_and_run(self):
        self.model.initialize(Path('./mosartwmpy/tests/test_config.yaml'),
            grid=self.grid)
        self.model.update()
        self.assertTrue(True, 'model initializes and updates')


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

from pathlib import Path
import unittest

from mosartwmpy import Model
from mosartwmpy.grid.grid import Grid


class ModelTest(unittest.TestCase):
    """Test that the model initializes and runs with the default settings."""
    
    def setUp(self):
        self.model = Model()
        self.grid = Grid.from_files(Path('./mosartwmpy/tests/grid.zip'))

    def test_can_initialize_and_run(self):
        self.model.initialize(Path('./mosartwmpy/tests/test_config.yaml'), grid=self.grid)
        self.model.update()
        self.assertTrue(True, "model initializes and updates")


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