- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestInvalidEncoding (0.33 sec)
-
src/compress/flate/flate_test.go
if !h.init(bits1) { t.Fatalf("Given sequence of bits is good and should succeed.") } if h.init(bits2) { t.Fatalf("Given sequence of bits is bad and should not succeed.") } } func TestInvalidEncoding(t *testing.T) { // Initialize Huffman decoder to recognize "0". var h huffmanDecoder if !h.init([]int{1}) { t.Fatal("Failed to initialize Huffman decoder") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 20 18:41:18 UTC 2020 - 11K bytes - Viewed (1)