Skip to content

Commit

Permalink
Make test programs valid, again.
Browse files Browse the repository at this point in the history
  • Loading branch information
pratyai committed Nov 5, 2024
1 parent e95fb71 commit 12abc9f
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions tests/fortran/offset_normalizer_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ def test_fortran_frontend_offset_normalizer_1d_symbol():
test_string = """
PROGRAM index_offset_test
implicit none
integer :: arrsize
integer :: arrsize2
integer, parameter :: arrsize = 5
integer, parameter :: arrsize2 = 5
double precision :: d(arrsize:arrsize2)
CALL index_test_function(d, arrsize, arrsize2)
end
Expand Down Expand Up @@ -164,10 +164,10 @@ def test_fortran_frontend_offset_normalizer_2d_symbol():
test_string = """
PROGRAM index_offset_test
implicit none
integer :: arrsize
integer :: arrsize2
integer :: arrsize3
integer :: arrsize4
integer, parameter :: arrsize = 3
integer, parameter :: arrsize2 = 4
integer, parameter :: arrsize3 = 5
integer, parameter :: arrsize4 = 6
double precision, dimension(arrsize:arrsize2,arrsize3:arrsize4) :: d
CALL index_test_function(d, arrsize, arrsize2, arrsize3, arrsize4)
end
Expand Down Expand Up @@ -290,10 +290,10 @@ def test_fortran_frontend_offset_normalizer_2d_arr2loop_symbol():
test_string = """
PROGRAM index_offset_test
implicit none
integer :: arrsize
integer :: arrsize2
integer :: arrsize3
integer :: arrsize4
integer, parameter :: arrsize = 3
integer, parameter :: arrsize2 = 4
integer, parameter :: arrsize3 = 5
integer, parameter :: arrsize4 = 6
double precision, dimension(arrsize:arrsize2,arrsize3:arrsize4) :: d
CALL index_test_function(d, arrsize, arrsize2, arrsize3, arrsize4)
end
Expand Down

0 comments on commit 12abc9f

Please sign in to comment.