diff --git a/test/ad.jl b/test/ad.jl index 92b88461..4754b8b8 100644 --- a/test/ad.jl +++ b/test/ad.jl @@ -1,10 +1,10 @@ -using ArrayInterface, ReverseDiff, Tracker +using ArrayInterface, ReverseDiff, Tracker, Test x = reduce(vcat, ReverseDiff.track([4.0])) -ArrayInterface.aos_to_soa(x) isa ReverseDiff.TrackedArray +@test ArrayInterface.aos_to_soa(x) isa ReverseDiff.TrackedArray x = reduce(vcat, ReverseDiff.track([4.0,4.0])) -ArrayInterface.aos_to_soa(x) isa ReverseDiff.TrackedArray +@test ArrayInterface.aos_to_soa(x) isa ReverseDiff.TrackedArray x = identity.(Tracker.TrackedArray([4.0])) -ArrayInterface.aos_to_soa(x) isa Tracker.TrackedArray +@test ArrayInterface.aos_to_soa(x) isa Tracker.TrackedArray x = identity.(Tracker.TrackedArray([4.0,4.0])) -ArrayInterface.aos_to_soa(x) isa Tracker.TrackedArray +@test ArrayInterface.aos_to_soa(x) isa Tracker.TrackedArray