Skip to content

Commit 625b00b

Browse files
committed
add no cover annotations
1 parent 9858491 commit 625b00b

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

PathPlanning/GridBasedSweepCPP/grid_based_sweep_coverage_path_planner.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ def planning(ox, oy, reso,
259259
return rx, ry
260260

261261

262-
def planning_animation(ox, oy, reso):
262+
def planning_animation(ox, oy, reso) # pragma: no cover:
263263
px, py = planning(ox, oy, reso)
264264

265265
# animation
@@ -281,7 +281,7 @@ def planning_animation(ox, oy, reso):
281281
plt.pause(0.1)
282282

283283

284-
def main():
284+
def main() # pragma: no cover:
285285
print("start!!")
286286

287287
ox = [0.0, 20.0, 50.0, 100.0, 130.0, 40.0, 0.0]

PathPlanning/RRTDubins/rrt_dubins.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
except ImportError:
2525
raise
2626

27-
2827
show_animation = True
2928

3029

@@ -105,7 +104,7 @@ def planning(self, animation=True, search_until_max_iter=True):
105104

106105
return None
107106

108-
def draw_graph(self, rnd=None):
107+
def draw_graph(self, rnd=None): # pragma: no cover
109108
plt.clf()
110109
if rnd is not None:
111110
plt.plot(rnd.x, rnd.y, "^k")
@@ -123,7 +122,7 @@ def draw_graph(self, rnd=None):
123122
self.plot_start_goal_arrow()
124123
plt.pause(0.01)
125124

126-
def plot_start_goal_arrow(self):
125+
def plot_start_goal_arrow(self): # pragma: no cover
127126
dubins_path_planning.plot_arrow(
128127
self.start.x, self.start.y, self.start.yaw)
129128
dubins_path_planning.plot_arrow(

0 commit comments

Comments
 (0)