()
| 716 | } |
| 717 | |
| 718 | @Test |
| 719 | public void testClClTreeDeficiency() { |
| 720 | byte[] compressed = { |
| 721 | (byte) 0x1b, (byte) 0x03, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x01, (byte) 0x80, |
| 722 | (byte) 0x43, (byte) 0x01, (byte) 0xe0, (byte) 0x05, (byte) 0x88, (byte) 0x55, (byte) 0x90, |
| 723 | (byte) 0x01, (byte) 0x00, (byte) 0x38, (byte) 0xd8, (byte) 0x32, (byte) 0x89, (byte) 0x01, |
| 724 | (byte) 0x12, (byte) 0x00, (byte) 0x00, (byte) 0x77, (byte) 0xda, (byte) 0x28, (byte) 0x40, |
| 725 | (byte) 0x23 |
| 726 | }; |
| 727 | checkSynth( |
| 728 | /* |
| 729 | * // This test is a copy of TooManySymbolsRepeated, with changed clcl table. |
| 730 | * main_header |
| 731 | * metablock_header_begin: 1, 0, 4, 0 |
| 732 | * metablock_header_trivial_context |
| 733 | * hskip: 0 |
| 734 | * clcl_ordered: 0,3,0,0,0,0,0,0,3,3,0,0,0,0,0,0,1,0 |
| 735 | * set_prefix_cl_rle: "", "110", "", "", "", "", "", "", "111", "101",\ |
| 736 | * "", "", "", "", "", "", "0", "" |
| 737 | * cl_rle: 8 |
| 738 | * cl_rle_rep: 9, 96 |
| 739 | * cl_rle: 1 |
| 740 | * cl_rle_rep: 9, 159 // 1 + 96 + 1 + 159 = 257 > 256 = alphabet size |
| 741 | * huffman_fixed: 704 |
| 742 | * huffman_fixed: 64 |
| 743 | * command_inscopy_easy: 4, 0 |
| 744 | * command_literal_bits: 0, 0, 0, 101100010 |
| 745 | */ |
| 746 | compressed, |
| 747 | false, |
| 748 | "aaab" |
| 749 | ); |
| 750 | } |
| 751 | |
| 752 | @Test |
| 753 | public void testClClTreeExcess() { |
nothing calls this directly
no test coverage detected