Skip to content

Commit 5ed0401

Browse files
committed
Test for NaNMath.pow
1 parent 52b62f1 commit 5ed0401

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/code.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ nanmath_st.rewrites[:nanmath] = true
8686
end)
8787
@test toexpr(SetArray(true, a, [x(t), AtIndex(9, b), c])).head == :macrocall
8888

89+
90+
@test toexpr(NaNMath.pow(a, b)) == :($(NaNMath.pow)(a, b))
91+
8992
f = GlobalRef(NaNMath, :sin)
9093
test_repr(toexpr(LiteralExpr(:(let x=1, y=2
9194
$(sin(a+b))

0 commit comments

Comments
 (0)