Skip to content

Commit 7bbaefd

Browse files
committed
test
1 parent 72c3a49 commit 7bbaefd

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

test/basic.jl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -770,6 +770,14 @@ end
770770
@test @jit(fn.(xrad_ra)) isa ConcreteRArray{Float32,2}
771771
end
772772

773+
yrad = Reactant.TestUtils.construct_test_array(Float32, 4, 16)[:, 3:9]
774+
yrad_ra = Reactant.to_rarray(yrad)
775+
776+
@testset for fn in (atan, atand)
777+
@test @jit(fn.(yrad_ra, xrad_ra)) fn.(yrad, xrad)
778+
@test @jit(fn.(yrad_ra, xrad_ra)) isa ConcreteRArray{Float32,2}
779+
end
780+
773781
x = 0.235f0
774782
x_ra = Reactant.to_rarray(x; track_numbers=Number)
775783

0 commit comments

Comments
 (0)