Skip to content

Commit f3210ab

Browse files
committed
Reformatted test_sorting.f90
Broke up seveeral lines so that the source code would be conistenly no more than 80 columns. [ticket: X]
1 parent 2412bdb commit f3210ab

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

src/tests/sorting/test_sorting.f90

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,8 @@ subroutine test_int_ord_sort( a, a_name, ltest )
253253
call verify_reverse_sort( dummy, valid, i )
254254
ltest = (ltest .and. valid)
255255
if ( .not. valid ) then
256-
write( *, * ) "reverse + work ORD_SORT did not sort " // a_name // "."
256+
write( *, * ) "reverse + work ORD_SORT did not sort " // a_name // &
257+
"."
257258
write(*,*) 'i = ', i
258259
write(*,'(a12, 2i7)') 'dummy(i-1:i) = ', dummy(i-1:i)
259260
end if
@@ -326,7 +327,8 @@ subroutine test_char_ord_sort( a, a_name, ltest )
326327
call verify_char_reverse_sort( char_dummy, valid, i )
327328
ltest = (ltest .and. valid)
328329
if ( .not. valid ) then
329-
write( *, * ) "reverse + work ORD_SORT did not sort " // a_name // "."
330+
write( *, * ) "reverse + work ORD_SORT did not sort " // a_name // &
331+
"."
330332
write(*,*) 'i = ', i
331333
write(*,'(a, 2(1x,a4))') 'char_dummy(i-1:i) = ', char_dummy(i-1:i)
332334
end if
@@ -337,7 +339,8 @@ subroutine test_char_ord_sort( a, a_name, ltest )
337339
call verify_char_reverse_sort( char_dummy, valid, i )
338340
ltest = (ltest .and. valid)
339341
if ( .not. valid ) then
340-
write( *, * ) "reverse + work ORD_SORT did not sort " // a_name // "."
342+
write( *, * ) "reverse + work ORD_SORT did not sort " // a_name // &
343+
"."
341344
write(*,*) 'i = ', i
342345
write(*,'(a, 2(1x,a4))') 'char_dummy(i-1:i) = ', char_dummy(i-1:i)
343346
end if
@@ -403,7 +406,8 @@ subroutine test_string_ord_sort( a, a_name, ltest )
403406
call verify_string_reverse_sort( string_dummy, valid, i )
404407
ltest = (ltest .and. valid)
405408
if ( .not. valid ) then
406-
write( *, * ) "reverse + work ORD_SORT did not sort " // a_name // "."
409+
write( *, * ) "reverse + work ORD_SORT did not sort " // a_name // &
410+
"."
407411
write(*,*) 'i = ', i
408412
write(*,'(a, 2(1x,a))') 'string_dummy(i-1:i) = ', &
409413
string_dummy(i-1:i)
@@ -784,9 +788,11 @@ subroutine test_string_sort_indexes( ltest )
784788

785789
ltest = .true.
786790

787-
call test_string_sort_index( string_decrease, "String Decrease", ldummy )
791+
call test_string_sort_index( string_decrease, "String Decrease", &
792+
ldummy )
788793
ltest = (ltest .and. ldummy)
789-
call test_string_sort_index( string_increase, "String Increase", ldummy )
794+
call test_string_sort_index( string_increase, "String Increase", &
795+
ldummy )
790796
ltest = (ltest .and. ldummy)
791797
call test_string_sort_index( string_rand, "String Random", ldummy )
792798
ltest = (ltest .and. ldummy)

0 commit comments

Comments
 (0)