Cidr4 merge algorithm #5
@@ -78,16 +78,16 @@ def test_get_parent_mask():
|
||||
def test_sort_nodes():
|
||||
assert sort_nodes(
|
||||
[
|
||||
(401219072, 24, 0),
|
||||
(2899902464, 19, 0),
|
||||
(400657664, 24, 0),
|
||||
(520969728, 23, 0),
|
||||
(401219072, 24),
|
||||
(2899902464, 19),
|
||||
(400657664, 24),
|
||||
(520969728, 23),
|
||||
]
|
||||
) == [
|
||||
(400657664, 24, 0),
|
||||
(401219072, 24, 0),
|
||||
(520969728, 23, 0),
|
||||
(2899902464, 19, 0),
|
||||
(400657664, 24),
|
||||
(401219072, 24),
|
||||
(520969728, 23),
|
||||
(2899902464, 19),
|
||||
]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user