Skip to content

Commit

Permalink
break format
Browse files Browse the repository at this point in the history
  • Loading branch information
vil02 committed Sep 26, 2024
1 parent f240af7 commit 8635f1f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/sorts/tests_radix_sort.f90
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

program tests_radix_sort
use radix_sort_module
implicit none
implicit none
integer :: i
integer, dimension(:), allocatable :: array
integer, parameter :: base10 = 10, base2 = 2, base16 = 16
Expand All @@ -15,11 +15,11 @@ program tests_radix_sort
if (allocated(array)) deallocate (array)
allocate (array(10))
array = (/170, 45, 75, 90, 802, 24, 2, 66, 15, 40/)
call run_test(array, base10)
call run_test(array,base10)

! Test 2: Base 2
print *, "Test 2: Radix Sort with base 2"
if (allocated(array)) deallocate (array)
if(allocated(array)) deallocate (array)
allocate (array(10))
array = (/10, 13, 9, 14, 2, 5, 15, 6, 8, 1/) ! Binary values as decimal
call run_test(array, base2)
Expand Down

0 comments on commit 8635f1f

Please sign in to comment.