# Path: pyphysim/extra/MATLAB/python2MATLAB.py
# def to_mat_str(  # type:ignore
#         x: np.ndarray, format_string: str = '+.12e') -> str:
#     def convert_row_or_col(numpy_array: np.array,
#                            format_string: str,
#                            separator: str = ', ') -> str:


import doctest
import unittest
import numpy as np
from pyphysim.extra.MATLAB import python2MATLAB
#!/usr/bin/env python

# pylint: disable=E1101
"""
Tests for the modules in the MATLAB package.

Each module has doctests for its functions and all we need to do is run all
of them.
"""





# noinspection PyMethodMayBeStatic
class MATLABDoctestsTestCase(unittest.TestCase):
    """Test case that run all the doctests in the modules of the MATLAB
    package.

    """
    def test_python2MATLAB(self) -> None:
        """Run python2MATLAB doctests"""

# Path: pyphysim/extra/MATLAB/python2MATLAB.py
# def to_mat_str(  # type:ignore
#         x: np.ndarray, format_string: str = '+.12e') -> str:
#     def convert_row_or_col(numpy_array: np.array,
#                            format_string: str,
#                            separator: str = ', ') -> str:


# Path: tests/matlab_package_test.py
import doctest
import unittest
import numpy as np
from pyphysim.extra.MATLAB import python2MATLAB

#!/usr/bin/env python

# pylint: disable=E1101
"""
Tests for the modules in the MATLAB package.

Each module has doctests for its functions and all we need to do is run all
of them.
"""





# noinspection PyMethodMayBeStatic
class MATLABDoctestsTestCase(unittest.TestCase):
    """Test case that run all the doctests in the modules of the MATLAB
    package.

    """
    def test_python2MATLAB(self) -> None:
        """Run python2MATLAB doctests"""

        doctest.testmod(python2MATLAB)