@@ -17,8 +17,6 @@ subroutine test_insert_at_string_1
17
17
18
18
work_list = stringlist_type()
19
19
call check( work_list% len () == 0 , " test_insert_at_string_1: constructor" )
20
- call check( work_list% to_current_idxn( list_tail ) == 0 , " test_insert_at_string_1: list_tail == 0" )
21
- call check( work_list% to_current_idxn( list_head ) == 1 , " test_insert_at_string_1: list_head == 1" )
22
20
23
21
write (* ,* ) " test_insert_at_string_1: Starting test case 1!"
24
22
current_length = 0
@@ -36,10 +34,6 @@ subroutine test_insert_at_string_1
36
34
call check( work_list% get( list_tail ) == to_string(first), " test_insert_at_string_1: get&
37
35
& list_tail " // string )
38
36
39
- call check( work_list% to_current_idxn( list_head ) == 1 , " test_insert_at_string_1:&
40
- & to_current_idxn( list_head ) " // to_string( current_length ) )
41
- call check( work_list% to_current_idxn( list_tail ) == current_length, " test_insert_at_string_1:&
42
- & to_current_idxn( list_tail ) " // to_string( current_length ) )
43
37
call check( work_list% len () == current_length, " test_insert_at_string_1: length check " &
44
38
& // to_string( current_length ) )
45
39
@@ -67,10 +61,6 @@ subroutine test_insert_at_string_1
67
61
call check( work_list% get( list_head ) == to_string(first), " test_insert_at_string_1: get&
68
62
& list_head " // string )
69
63
70
- call check( work_list% to_current_idxn( list_head ) == 1 , " test_insert_at_string_1:&
71
- & to_current_idxn( list_head ) " // to_string( current_length ) )
72
- call check( work_list% to_current_idxn( list_tail ) == current_length, " test_insert_at_string_1:&
73
- & to_current_idxn( list_tail ) " // to_string( current_length ) )
74
64
call check( work_list% len () == current_length, " test_insert_at_string_1: length check " &
75
65
& // to_string( current_length ) )
76
66
@@ -109,10 +99,6 @@ subroutine test_insert_at_string_2
109
99
call check( work_list% get( list_tail ) == string, " test_insert_at_string_2: get&
110
100
& list_tail " // string )
111
101
112
- call check( work_list% to_current_idxn( list_head ) == 1 , " test_insert_at_string_2:&
113
- & to_current_idxn( list_head ) " // to_string( current_length ) )
114
- call check( work_list% to_current_idxn( list_tail ) == current_length, " test_insert_at_string_2:&
115
- & to_current_idxn( list_tail ) " // to_string( current_length ) )
116
102
call check( work_list% len () == current_length, " test_insert_at_string_2: length check " &
117
103
& // to_string( current_length ) )
118
104
@@ -138,10 +124,6 @@ subroutine test_insert_at_string_2
138
124
call check( work_list% get( list_tail ) == to_string(last), " test_insert_at_string_2: get&
139
125
& list_tail " // string )
140
126
141
- call check( work_list% to_current_idxn( list_head ) == 1 , " test_insert_at_string_2:&
142
- & to_current_idxn( list_head ) " // to_string( current_length ) )
143
- call check( work_list% to_current_idxn( list_tail ) == current_length, " test_insert_at_string_2:&
144
- & to_current_idxn( list_tail ) " // to_string( current_length ) )
145
127
call check( work_list% len () == current_length, " test_insert_at_string_2: length check " &
146
128
& // to_string( current_length ) )
147
129
@@ -180,10 +162,6 @@ subroutine test_insert_at_string_3
180
162
call check( work_list% get( list_head ) == string, " test_insert_at_string_3: get&
181
163
& list_head " // string )
182
164
183
- call check( work_list% to_current_idxn( list_head ) == 1 , " test_insert_at_string_3:&
184
- & to_current_idxn( list_head ) " // to_string( current_length ) )
185
- call check( work_list% to_current_idxn( list_tail ) == current_length, " test_insert_at_string_3:&
186
- & to_current_idxn( list_tail ) " // to_string( current_length ) )
187
165
call check( work_list% len () == current_length, " test_insert_at_string_3: length check " &
188
166
& // to_string( current_length ) )
189
167
@@ -209,10 +187,6 @@ subroutine test_insert_at_string_3
209
187
call check( work_list% get( list_head ) == to_string(last), " test_insert_at_string_3: get&
210
188
& list_head " // string )
211
189
212
- call check( work_list% to_current_idxn( list_head ) == 1 , " test_insert_at_string_3:&
213
- & to_current_idxn( list_head ) " // to_string( current_length ) )
214
- call check( work_list% to_current_idxn( list_tail ) == current_length, " test_insert_at_string_3:&
215
- & to_current_idxn( list_tail ) " // to_string( current_length ) )
216
190
call check( work_list% len () == current_length, " test_insert_at_string_3: length check " &
217
191
& // to_string( current_length ) )
218
192
0 commit comments