()
| 750 | } |
| 751 | |
| 752 | @Test |
| 753 | public void testClClTreeExcess() { |
| 754 | byte[] compressed = { |
| 755 | (byte) 0x1b, (byte) 0x03, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x01, (byte) 0x80, |
| 756 | (byte) 0xc3, (byte) 0x7b, (byte) 0x80, (byte) 0x58, (byte) 0x41, (byte) 0x06, (byte) 0x00, |
| 757 | (byte) 0xe0, (byte) 0x60, (byte) 0xcb, (byte) 0x24, (byte) 0x06, (byte) 0x48, (byte) 0x00, |
| 758 | (byte) 0x00, (byte) 0xdc, (byte) 0x69, (byte) 0xa3, (byte) 0x00, (byte) 0x8d, (byte) 0x00 |
| 759 | }; |
| 760 | checkSynth( |
| 761 | /* |
| 762 | * // This test is a copy of ClClTreeDeficiency, with changed clcl table. |
| 763 | * main_header |
| 764 | * metablock_header_begin: 1, 0, 4, 0 |
| 765 | * metablock_header_trivial_context |
| 766 | * hskip: 0 |
| 767 | * clcl_ordered: 0,3,0,0,0,0,0,0,3,1,0,0,0,0,0,0,1,0 |
| 768 | * set_prefix_cl_rle: "", "110", "", "", "", "", "", "", "111", "1",\ |
| 769 | * "", "", "", "", "", "", "0", "" |
| 770 | * cl_rle: 8 |
| 771 | * cl_rle_rep: 9, 96 |
| 772 | * cl_rle: 1 |
| 773 | * cl_rle_rep: 9, 159 // 1 + 96 + 1 + 159 = 257 > 256 = alphabet size |
| 774 | * huffman_fixed: 704 |
| 775 | * huffman_fixed: 64 |
| 776 | * command_inscopy_easy: 4, 0 |
| 777 | * command_literal_bits: 0, 0, 0, 101100010 |
| 778 | */ |
| 779 | compressed, |
| 780 | false, |
| 781 | "aaab" |
| 782 | ); |
| 783 | } |
| 784 | |
| 785 | @Test |
| 786 | public void testComplexHuffmanCodeTwoSymbols() { |
nothing calls this directly
no test coverage detected