Esempio n. 1
0
 def test_evaluate_wl_expr_option(self):
     res = self.cloud_session.evaluate(wl.ArrayPad([[1]], 1, Padding=1))
     self.assertEqual(res, ((1, 1, 1), (1, 1, 1), (1, 1, 1)))
 async def test_evaluate_wl_expr_option(self):
     res = await self.cloud_session_async.evaluate(
         wl.ArrayPad([[1]], 1, Padding=1))
     self.assertEqual(res, [[1, 1, 1], [1, 1, 1], [1, 1, 1]])