Skip to content

Commit

Permalink
Fix doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
tianyizheng02 authored Dec 31, 2024
1 parent 7ce5261 commit 8dab7f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graphics/digital_differential_analyzer_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def digital_differential_analyzer_line(
Returns:
- List of coordinate points that form the line.
>>> digital_differential_analyzer_line(1, 1, 4, 4)
>>> digital_differential_analyzer_line((1, 1), (4, 4))
[(2, 2), (3, 3), (4, 4)]
"""
x1, y1 = p1
Expand Down

0 comments on commit 8dab7f4

Please sign in to comment.