Skip to content

Commit 3095a9c

Browse files
committed
Fix tests
1 parent d40c51f commit 3095a9c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: other/graham_scan.py

+3
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ class Direction(Enum):
2121
straight = 2
2222
right = 3
2323

24+
def __repr__(self):
25+
return f"{self.__class__.__name__}.{self.name}"
26+
2427

2528
def angle_comparer(point: tuple[int, int], minx: int, miny: int) -> float:
2629
"""Return the angle toward to point from (minx, miny)

0 commit comments

Comments
 (0)