Skip to content

Commit

Permalink
test_roundtrip_seekstart (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
nhz2 committed Jun 11, 2024
1 parent c817a07 commit aebb5ad
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ using CodecBase
using Test
using Random
import TranscodingStreams:
TranscodingStreams,
TranscodingStream,
test_roundtrip_read,
test_roundtrip_write,
Expand Down Expand Up @@ -66,6 +67,9 @@ end
test_roundtrip_read(Base16EncoderStream, Base16DecoderStream)
test_roundtrip_write(Base16EncoderStream, Base16DecoderStream)
test_roundtrip_lines(Base16EncoderStream, Base16DecoderStream)
if isdefined(TranscodingStreams, :test_roundtrip_seekstart)
TranscodingStreams.test_roundtrip_seekstart(Base16EncoderStream, Base16DecoderStream)
end
test_roundtrip_transcode(Base16Encoder, Base16Decoder)
end

Expand Down Expand Up @@ -117,6 +121,9 @@ end
test_roundtrip_read(Base32EncoderStream, Base32DecoderStream)
test_roundtrip_write(Base32EncoderStream, Base32DecoderStream)
test_roundtrip_lines(Base32EncoderStream, Base32DecoderStream)
if isdefined(TranscodingStreams, :test_roundtrip_seekstart)
TranscodingStreams.test_roundtrip_seekstart(Base32EncoderStream, Base32DecoderStream)
end
test_roundtrip_transcode(Base32Encoder, Base32Decoder)
end

Expand Down Expand Up @@ -167,5 +174,8 @@ end
test_roundtrip_read(Base64EncoderStream, Base64DecoderStream)
test_roundtrip_write(Base64EncoderStream, Base64DecoderStream)
test_roundtrip_lines(Base64EncoderStream, Base64DecoderStream)
if isdefined(TranscodingStreams, :test_roundtrip_seekstart)
TranscodingStreams.test_roundtrip_seekstart(Base64EncoderStream, Base64DecoderStream)
end
test_roundtrip_transcode(Base64Encoder, Base64Decoder)
end

0 comments on commit aebb5ad

Please sign in to comment.