We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b646750 commit 51d05edCopy full SHA for 51d05ed
1 file changed
test/methods.jl
@@ -82,6 +82,8 @@ struct NotAFunction end # not <: Function on purpose, cf #224
82
@testset "Test allocations" begin
83
m = central_fdm(5, 2, adapt=2)
84
@test @ballocated($m(sin, 1)) == 0
85
+ fn(t) = sin(t / u"s")
86
+ @test @ballocated($m($fn, 1u"s")) == 0
87
end
88
89
# Integration test to ensure that Integer-output functions can be tested.
0 commit comments