コード例 #1
0
ファイル: FunctionsTest.py プロジェクト: gaoyue17/PyMesh
 def test_x2(self):
     data = randn(1e3);
     result = PySwigTests.x2(data);
     self.assertTrue(np.all(data * 2 == result));
コード例 #2
0
 def test_x2(self):
     data = randn(1e3)
     result = PySwigTests.x2(data)
     self.assertTrue(np.all(data * 2 == result))