From b1193b0eb9c77090c45d9c9181a987c3d6f113d9 Mon Sep 17 00:00:00 2001 From: panlei <2799247126@qq.com> Date: 星期一, 01 七月 2019 16:43:39 +0800 Subject: [PATCH] 测试图片换成绝对路径 --- util/simpleCV_test.go | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/util/simpleCV_test.go b/util/simpleCV_test.go index 7030d18..5690810 100644 --- a/util/simpleCV_test.go +++ b/util/simpleCV_test.go @@ -4,6 +4,10 @@ "testing" ) -func TestCvRTSP(t *testing.T) { - CvRTSP() +func TestDrawPolygon(t *testing.T) { + resp,err := DrawPolygon() + if err != nil { + t.Error("鐢绘鎴栬�呬笂浼犳湁闂") + } + t.Log(resp["fileUrl"].(string)) } \ No newline at end of file -- Gitblit v1.8.0