Skip to content

Commit e84c5e0

Browse files
committed
add long cycle ll test case
1 parent 329062a commit e84c5e0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Python/chapter02/2.8 - Loop Detection/miguel_soln_2.8.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,11 @@ def setUp(self):
230230
LinkedList(1),
231231
LinkedList(3),
232232
Node(2)
233+
),
234+
CorruptLLStructure(
235+
LinkedList(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11),
236+
LinkedList(13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23),
237+
Node(12)
233238
)
234239
]
235240
self.loop_detection_test_cases = []

0 commit comments

Comments
 (0)