From 3a15218bfdaec806f62aeab33c411b9bd3edbe10 Mon Sep 17 00:00:00 2001 From: principal87 Date: Thu, 13 Jul 2023 21:23:47 +0800 Subject: [PATCH] add js testcase and mindspore model. Signed-off-by: principal87 --- ai/mindspore/mindsporejstest/src/main/ets/test/Ability.test.ets | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ai/mindspore/mindsporejstest/src/main/ets/test/Ability.test.ets b/ai/mindspore/mindsporejstest/src/main/ets/test/Ability.test.ets index 528b1f68b..dbcb9f372 100644 --- a/ai/mindspore/mindsporejstest/src/main/ets/test/Ability.test.ets +++ b/ai/mindspore/mindsporejstest/src/main/ets/test/Ability.test.ets @@ -1220,6 +1220,7 @@ export default function abilityTest() { let resize_result = msliteModel.resize(modelInputs, new_dim); expect(resize_result).assertFalse() console.log('=========MSLITE resize failed=====') + done(); }).catch(err => { console.log("loadModel catch: ", err); done(); @@ -1267,6 +1268,7 @@ export default function abilityTest() { let resize_result = msliteModel.resize(modelInputs, new_dim); expect(resize_result).assertFalse() console.log('=========MSLITE resize failed=====') + done(); }).catch(err => { console.log("loadModel catch: ", err); done(); -- GitLab