Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(test): fix for ifx
  • Loading branch information
zoziha committed Apr 20, 2025
commit 036e759263e4eda3a5546daba5a1af201073c821
8 changes: 4 additions & 4 deletions test/io/test_print_array.f90
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ subroutine test_print_rdp(error)
line(5) = "0.00|0.00|0.00|0.00|1.00"
line(6:) = "0.00|0.00|0.00|0.00|0.00"

call print_array(a(:, :5), fh, fmt="(g0.3)", brief=.false., delimiter="|")
call print_array(a(:, :5), fh, fmt="(f4.2)", brief=.false., delimiter="|")

rewind (fh)
do i = 1, 10
Expand Down Expand Up @@ -105,7 +105,7 @@ subroutine test_print_rsp(error)
line(4) = "0.00|0.00|0.00|1.00|0.00"
line(5) = "0.00|0.00|0.00|0.00|1.00"
line(6:) = "0.00|0.00|0.00|0.00|0.00"
call print_array(a(:, :5), fh, fmt="(g0.3)", brief=.false., delimiter="|")
call print_array(a(:, :5), fh, fmt="(f4.2)", brief=.false., delimiter="|")

rewind (fh)
do i = 1, 10
Expand Down Expand Up @@ -242,7 +242,7 @@ subroutine test_print_cdp(error)
line(4) = "0.00,0.00|0.00,0.00|0.00,0.00|1.00,0.00|0.00,0.00"
line(5) = "0.00,0.00|0.00,0.00|0.00,0.00|0.00,0.00|1.00,0.00"
line(6:) = "0.00,0.00|0.00,0.00|0.00,0.00|0.00,0.00|0.00,0.00"
call print_array(a(:, :5), fh, fmt="(g0.3,"","",g0.3)", brief=.false., delimiter="|")
call print_array(a(:, :5), fh, fmt="(f4.2,"","",f4.2)", brief=.false., delimiter="|")
rewind (fh)
do i = 1, 10
call get_line(fh, buffer)
Expand Down Expand Up @@ -290,7 +290,7 @@ subroutine test_print_csp(error)
line(4) = " 0.00, 0.00; 0.00, 0.00; 0.00, 0.00; 1.00, 0.00; 0.00, 0.00"
line(5) = " 0.00, 0.00; 0.00, 0.00; 0.00, 0.00; 0.00, 0.00; 1.00, 0.00"
line(6:) = " 0.00, 0.00; 0.00, 0.00; 0.00, 0.00; 0.00, 0.00; 0.00, 0.00"
call print_array(a(:, :5), fh, fmt="(1x,g0.3,"","",1x,g0.3)", brief=.false., delimiter=";")
call print_array(a(:, :5), fh, fmt="(1x,f4.2,"","",1x,f4.2)", brief=.false., delimiter=";")
rewind (fh)
do i = 1, 10
call get_line(fh, buffer)
Expand Down
Loading