From e393d33db7f1be8273120b7eea52efe8c11a3dcb Mon Sep 17 00:00:00 2001 From: pikastech Date: Mon, 1 Aug 2022 00:16:23 +0800 Subject: [PATCH] fix Quaternion_test.py --- examples/PikaMath/Quaternion_test.py | 2 +- port/linux/.vscode/launch.json | 2 +- port/linux/test/python/PikaMath/Quaternion_test.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/PikaMath/Quaternion_test.py b/examples/PikaMath/Quaternion_test.py index 72fd1ad10..975c2361c 100644 --- a/examples/PikaMath/Quaternion_test.py +++ b/examples/PikaMath/Quaternion_test.py @@ -1,4 +1,4 @@ -import PikaMath +from PikaMath import Quaternion a=Quaternion() a.set(0.592,0.158,0.592,0.525) diff --git a/port/linux/.vscode/launch.json b/port/linux/.vscode/launch.json index 5f1120894..8fece995c 100644 --- a/port/linux/.vscode/launch.json +++ b/port/linux/.vscode/launch.json @@ -11,7 +11,7 @@ "program": "${workspaceFolder}/build/test/pikascript_test", // "program": "${workspaceFolder}/build/boot/demo06-pikamain/pikascript_demo06-pikamain", "args": [ - // "--gtest_filter=pikaMain.unitTest" + "--gtest_filter=PikaMath.*" ], "stopAtEntry": false, "cwd": "${workspaceFolder}", diff --git a/port/linux/test/python/PikaMath/Quaternion_test.py b/port/linux/test/python/PikaMath/Quaternion_test.py index 72fd1ad10..975c2361c 100644 --- a/port/linux/test/python/PikaMath/Quaternion_test.py +++ b/port/linux/test/python/PikaMath/Quaternion_test.py @@ -1,4 +1,4 @@ -import PikaMath +from PikaMath import Quaternion a=Quaternion() a.set(0.592,0.158,0.592,0.525)