eb1441f23d223d5344b7d55d2203a35dda6e2685
[openpower-isa.git] / src / openpower / decoder / isa / test_caller_mul.py
1 """ Decoder tests
2
3 related bugs:
4
5 *
6 """
7
8 import unittest
9 from openpower.test.runner import TestRunnerBase
10 from openpower.test.mul.mul_cases import MulTestCases2Arg, SVP64MAdd
11
12 # writing the test_caller invocation this way makes it work with pytest
13
14
15 class TestMul2Arg(TestRunnerBase):
16 def __init__(self, test):
17 assert test == 'test'
18 super().__init__(MulTestCases2Arg().test_data)
19
20 def test(self):
21 # dummy function to make unittest try to test this class
22 pass
23
24
25 class TestSVP64MAdd(TestRunnerBase):
26 def __init__(self, test):
27 assert test == 'test'
28 super().__init__(SVP64MAdd().test_data)
29
30 def test(self):
31 # dummy function to make unittest try to test this class
32 pass
33
34
35 if __name__ == "__main__":
36 unittest.main()