mirror of https://github.com/kivy/pyjnius.git
13 lines
439 B
Python
13 lines
439 B
Python
import unittest
|
|
from jnius.reflect import autoclass
|
|
|
|
class MultipleDimensionsTest(unittest.TestCase):
|
|
|
|
def test_multiple_dimensions(self):
|
|
MultipleDims = autoclass('org.jnius.MultipleDimensions')
|
|
matrix = [[1, 2, 3],
|
|
[4, 5, 6],
|
|
[7, 8, 9]]
|
|
self.assertEquals(MultipleDims.methodParamsMatrixI(matrix), True)
|
|
self.assertEquals(MultipleDims.methodReturnMatrixI(), matrix)
|