ex_linkedlist$(nW)TEST1: START: ex_linkedlist
 $(nW)ex_linkedlist$(*) $(nW)
after init start
after init end
after insert[head|tail] start
9
8
7
6
5
4
3
2
1
0
0
1
2
3
4
5
6
7
8
9
after insert[head|tail] end
after insert_after1 start
9
8
7
6
5
4
3
2
1
0
666
0
1
2
3
4
5
6
7
8
9
after insert_after1 end
after insert_before1 start
9
8
7
6
5
4
3
2
1
0
888
666
0
1
2
3
4
5
6
7
8
9
after insert_before1 end
after insert_before2 start
9
8
7
6
5
4
3
2
1
0
888
555
666
0
1
2
3
4
5
6
7
8
9
after insert_before2 end
after insert_before3 start
111
9
8
7
6
5
4
3
2
1
0
888
555
666
0
1
2
3
4
5
6
7
8
9
after insert_before3 end
after insert_after2 start
111
9
8
7
6
5
4
3
2
1
0
888
555
666
0
1
2
3
4
5
6
7
8
9
222
after insert_after2 end
after move_element_tail start
111
9
8
7
6
5
4
3
2
1
0
888
666
0
1
2
3
4
5
6
7
8
9
222
555
after move_element_tail end
after move_element_head start
666
111
9
8
7
6
5
4
3
2
1
0
888
0
1
2
3
4
5
6
7
8
9
222
555
after move_element_head end
after remove1 start
111
9
8
7
6
5
4
3
2
1
0
888
0
1
2
3
4
5
6
7
8
9
222
555
after remove1 end
after remove2 start
111
9
8
7
6
5
4
3
2
1
0
888
0
1
2
3
4
5
6
7
8
9
222
after remove2 end
after remove3 start
111
9
8
7
6
5
4
3
2
1
0
0
1
2
3
4
5
6
7
8
9
222
after remove3 end
after init start
after init end
after insert_head start
9
8
7
6
5
4
3
2
1
0
after insert_head end
after insert_after1 start
9
111
8
7
6
5
4
3
2
1
0
after insert_after1 end
after insert_after2 start
9
111
8
222
7
6
5
4
3
2
1
0
after insert_after2 end
after remove_free1 start
9
111
8
222
6
5
4
3
2
1
0
after remove_free1 end
after remove_head start
111
8
222
6
5
4
3
2
1
0
after remove_head end
after insert_after3 start
111
8
222
6
5
4
3
2
1
0
333
after insert_after3 end
after insert_after4 start
111
8
222
6
5
4
3
2
1
0
333
123
after insert_after4 end
after remove_free2 start
111
8
222
6
5
4
3
2
1
0
333
after remove_free2 end
Outcome for tail queue is correct!
Outcome for singly linked list is correct!
ex_linkedlist$(nW)TEST1: DONE
