Skip to content

Commit 33dc0f1

Browse files
committed
tmp(test): Tmp update
1 parent 841a07e commit 33dc0f1

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

test/data_structures/doubly_linked_list_test.exs

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,21 @@ defmodule Algorithims.DataStructures.DoublyLinkedListTest do
2323
end
2424

2525
test "it works when the list is not empty" do
26-
res =
27-
DoublyLinkedList.add_to_head(%LinkedList{head: nil, tail: nil, size: 0}, 10)
28-
|> DoublyLinkedList.add_to_head(3)
29-
|> DoublyLinkedList.add_to_head(5)
30-
|> DoublyLinkedList.add_to_head(-1)
31-
32-
assert head = res.head
33-
assert head.prev == nil
34-
assert head.value == 10
35-
assert head.next.value == 3
36-
37-
assert tail = res.tail
38-
assert tail.prev.value == 5
39-
assert tail.value == -1
40-
assert tail.next == nil
26+
# res =
27+
# DoublyLinkedList.add_to_head(%LinkedList{head: nil, tail: nil, size: 0}, 10)
28+
# |> DoublyLinkedList.add_to_head(3)
29+
# |> DoublyLinkedList.add_to_head(5)
30+
# |> DoublyLinkedList.add_to_head(-1)
31+
#
32+
# assert head = res.head
33+
# assert head.prev == nil
34+
# assert head.value == 10
35+
# assert head.next.value == 3
36+
#
37+
# assert tail = res.tail
38+
# assert tail.prev.value == 5
39+
# assert tail.value == -1
40+
# assert tail.next == nil
4141
end
4242
end
4343
end

0 commit comments

Comments
 (0)