Skip to content

Commit

Permalink
Update test/export.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Dave Kleinschmidt <[email protected]>
  • Loading branch information
ericphanson and kleinschmidt authored Oct 16, 2023
1 parent 9fa77c8 commit f091fb2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/export.jl
Original file line number Diff line number Diff line change
Expand Up @@ -258,9 +258,11 @@
sample_type=Float64,
sample_rate=1)

data = zeros(UInt64, 1, 2)
data = zeros(UInt64, 1, 2) .+ 0x02
samples = Samples(data, info, false)
@test OndaEDF.reencode_samples(samples) isa Samples
samples_reenc = OndaEDF.reencode_samples(samples)
@test samples_reenc isa Samples
@test decode(samples_reenc).data == data
end

end

0 comments on commit f091fb2

Please sign in to comment.