Skip to content

Commit 33b46a3

Browse files
committed
Added test for "is_function_processor_working()" function
1 parent c874dbe commit 33b46a3

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
import pymatbridge as pymat
2+
import numpy.testing as npt
3+
import test_utils as tu
4+
5+
6+
class TestFunctionProcessor:
7+
8+
# Start a Matlab session before running any tests
9+
@classmethod
10+
def setup_class(cls):
11+
cls.mlab = tu.connect_to_matlab()
12+
13+
# Tear down the Matlab session after running all the tests
14+
@classmethod
15+
def teardown_class(cls):
16+
tu.stop_matlab(cls.mlab)
17+
18+
# Test the "is_function_processor_working()" function
19+
def test_is_function_processor_working(self):
20+
npt.assert_equal(self.mlab.is_function_processor_working(), True)
21+

0 commit comments

Comments
 (0)