Skip to content

Commit 0df6911

Browse files
committed
feat(sat-mix-rat): add assertion
1 parent b0c8cd2 commit 0df6911

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

example/supporting-modules/saturated_mixing_ratio_m.f90 renamed to example/supporting-modules/saturated_mixing_ratio_m.F90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ module saturated_mixing_ratio_m
3131
!! in the Intermediate Complexity Atmospheric Research (ICAR) model file src/physics/mp_simple.f90.
3232
!! ICAR is distributed under the above MIT license. See https://github.com/ncar/icar.
3333
use fiats_m, only : tensor_t
34-
use julienne_m, only : call_julienne_assert_, operator(.equalsExpected.)
34+
use julienne_m, only : call_julienne_assert_, operator(.equalsExpected.), operator(.all.)
3535
implicit none
3636

3737
private
@@ -75,7 +75,7 @@ elemental function y(x_in) result(a)
7575
type(tensor_t), intent(in) :: x_in
7676
type(tensor_t) a
7777
associate(x => x_in%values())
78-
call_julienne_assert((lbound(x,1) .equalsExpected. 1) .also. (ubound(x,1) .equalsExpected. 2,"y(x) :: sufficient input"))
78+
call_julienne_assert(.all. ([lbound(x,1),ubound(x,1)] .equalsExpected. [1,2]))
7979
a = tensor_t([saturated_mixing_ratio(x(1),x(2))])
8080
end associate
8181
end function

0 commit comments

Comments
 (0)