diff --git a/test/test_errors.jl b/test/test_errors.jl index 656cf30..24af286 100644 --- a/test/test_errors.jl +++ b/test/test_errors.jl @@ -2,7 +2,7 @@ include("utils.jl") -@testset "decompressing corrupt input" begin +@testset "decompressing corrupt input with $(decompress)" for decompress in (decompress, decompress_bytes) # HEADER_BITS @test_throws DecompressionError("invalid block compression mode 3") decompress([0b111, 0x00]) @test_throws DecompressionError("invalid block compression mode 3") decompress([0b110, 0x00]) diff --git a/test/test_huffman.jl b/test/test_huffman.jl index 2d788b7..c7b6a83 100644 --- a/test/test_huffman.jl +++ b/test/test_huffman.jl @@ -50,7 +50,7 @@ end end @testset "random nbits" begin - for trial in 1:100000 + for trial in 1:10000 n = rand(2:19) num_bits_per_op = rand(0x00:0x07, n) sum(num_bits_per_op) < 2 && continue