From a4d90ebc6a31b9948ecee74189fe1423589e1f4c Mon Sep 17 00:00:00 2001
From: wangzhengquan <wangzhengquan85@126.com>
Date: 星期四, 17 九月 2020 15:23:28 +0800
Subject: [PATCH] udpate

---
 test/Makefile                   |    2 +-
 algorithm/include/IndirectAlg.h |    3 ++-
 test/test_right_walk.c          |    3 ++-
 test/test_right_walk            |    0 
 4 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/algorithm/include/IndirectAlg.h b/algorithm/include/IndirectAlg.h
index e16caff..ac82011 100644
--- a/algorithm/include/IndirectAlg.h
+++ b/algorithm/include/IndirectAlg.h
@@ -35,8 +35,9 @@
     IndirectAlg(const std::initializer_list<Edge> & edges, const Vector2 & _directionconst , const time_t & _keepTime, const double _minDistance);
     /**
      * @points  缁勬垚瑙傛祴鍖哄煙鐨勫郊姝ょ浉閭荤殑鐐�
-     * @_keepTime 淇濇寔鏃堕棿
      * @_direction 姝g‘琛岃繘鐨勬柟鍚戞柟鍚�
+     * @_keepTime 淇濇寔鏃堕棿
+     * @minDistance 鏈�灏忕Щ鍔ㄨ窛绂�,瑕佽秴杩囪繖涓窛绂绘墠绠楃Щ鍔�
      */
     IndirectAlg(const std::initializer_list<Point> & points, const Vector2 & _direction, const time_t & _keepTime, const double _minDistance);
 
diff --git a/test/Makefile b/test/Makefile
index b19d5c5..1bda7f8 100755
--- a/test/Makefile
+++ b/test/Makefile
@@ -8,7 +8,7 @@
 include $(ROOT)/Make.defines.$(PLATFORM)
 
 
-PROGS = test_right_walk3
+PROGS = test_right_walk test_right_walk3
 
 	
 
diff --git a/test/test_right_walk b/test/test_right_walk
index 6ce46f0..c381bab 100755
--- a/test/test_right_walk
+++ b/test/test_right_walk
Binary files differ
diff --git a/test/test_right_walk.c b/test/test_right_walk.c
index 4331f6f..24e0404 100644
--- a/test/test_right_walk.c
+++ b/test/test_right_walk.c
@@ -6,7 +6,8 @@
 int test2() {
     // IndirectAlg indirectAlg({  {{0.0, 0.0}, {1000.0, 0.0}}, {{1000.0, 0.0}, {1000.0, 1000.0}}, {{1000.0, 1000.0}, {0.0, 1000.0}}, {{0.0, 1000.0}, {0.0, 0.0}} }, 5, {1, 1});
     
-    IndirectAlg indirectAlg((std::initializer_list<Point>){{0.0, 0.0}, {1000.0, 0.0},  {1000.0, 1000.0}, {0.0, 1000.0} }, 5, {1, 1});
+    IndirectAlg indirectAlg((std::initializer_list<Point>){{0.0, 0.0}, {1000.0, 0.0},  {1000.0, 1000.0}, {0.0, 1000.0} },
+      {1, 1}, 5, 2);
     
     int i = 0;
     time_t start_time;

--
Gitblit v1.8.0