Skip to content

Commit f3101ea

Browse files
committed
fix errors in test cases
1 parent 4a6642a commit f3101ea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

fractals/hilbert_curve.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ def hilbert_curve(
4242
- A list of (x, y) coordinates representing the Hilbert curve.
4343
4444
>>> len(hilbert_curve(1))
45-
5
45+
4
4646
>>> len(hilbert_curve(2))
47-
17
47+
16
4848
>>> len(hilbert_curve(3))
49-
65
49+
64
5050
"""
5151
if order == 0:
5252
return [(x0 + (xi + yi) / 2, y0 + (xj + yj) / 2)]

0 commit comments

Comments
 (0)