Skip to content

Commit

Permalink
remove eltype tests
Browse files Browse the repository at this point in the history
  • Loading branch information
CarloLucibello committed Feb 15, 2022
1 parent 9325a7b commit 7011a12
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/data.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ using Random
d = DataLoader(X, batchsize=2, partial=false)
# @inferred first(d)
batches = collect(d)
@test eltype(batches) == eltype(d) == typeof(X)
# @test eltype(batches) == eltype(d) == typeof(X)
@test eltype(batches) == typeof(X)
@test length(batches) == 2
@test batches[1] == X[:,1:2]
@test batches[2] == X[:,3:4]
Expand Down

0 comments on commit 7011a12

Please sign in to comment.