Skip to content

Commit

Permalink
interp,format: Update tests after decode refactor/tosym/toactual
Browse files Browse the repository at this point in the history
  • Loading branch information
wader committed Nov 5, 2021
1 parent 6a15625 commit cc5f405
Show file tree
Hide file tree
Showing 74 changed files with 2,950 additions and 2,937 deletions.
4 changes: 2 additions & 2 deletions format/ape/testdata/apev2.fqtest
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ $ fq -d apev2 verbose /apev2
0x00| 8e 00 00 00| ....| tag_size: 142 0xc-0xf.7 (4)
0x10|03 00 00 00 |.... | item_count: 3 0x10-0x13.7 (4)
0x10| 00 00 00 a0 | .... | flags: 2684354560 0x14-0x17.7 (4)
0x10| 00 00 00 00 00 00 00 00| ........| reserved: Correct (none) (zero padding) 0x18-0x1f.7 (8)
0x10| 00 00 00 00 00 00 00 00| ........| reserved: "Correct" (none) (zero padding) 0x18-0x1f.7 (8)
| | | tags: [3] 0x20-0x8d.7 (110)
| | | [0]: tag {} 0x20-0x3d.7 (30)
0x20|07 00 00 00 |.... | item_size: 7 0x20-0x23.7 (4)
Expand Down Expand Up @@ -51,4 +51,4 @@ $ fq -d apev2 verbose /apev2
0x90| 03 00| ..| item_count: 3 0x9e-0xa1.7 (4)
0xa0|00 00 |.. |
0xa0| 00 00 00 80 | .... | flags: 2147483648 0xa2-0xa5.7 (4)
0xa0| 00 00 00 00 00 00 00 00| | ........| | reserved: Correct (none) (zero padding) 0xa6-0xad.7 (8)
0xa0| 00 00 00 00 00 00 00 00| | ........| | reserved: "Correct" (none) (zero padding) 0xa6-0xad.7 (8)
24 changes: 12 additions & 12 deletions format/flac/testdata/frame.fqtest
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,22 @@
$ fq -d flac_frame verbose /frame
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|.: {} /frame (flac_frame) 0x0-0x1ff.7 (512)
| | | header: {} 0x0-0x7.7 (8)
0x000|ff f8 |.. | sync: Correct (0x3ffe) 0x0-0x1.5 (1.6)
0x000| f8 | . | reserved0: Correct (0x0) 0x1.6-0x1.6 (0.1)
0x000| f8 | . | blocking_strategy: Fixed (0) 0x1.7-0x1.7 (0.1)
0x000| 79 | y | block_size: end of header (16 bit) (0) 0x2-0x2.3 (0.4)
0x000|ff f8 |.. | sync: "Correct" (0x3ffe) 0x0-0x1.5 (1.6)
0x000| f8 | . | reserved0: "Correct" (0x0) 0x1.6-0x1.6 (0.1)
0x000| f8 | . | blocking_strategy: "Fixed" (0) 0x1.7-0x1.7 (0.1)
0x000| 79 | y | block_size: "end of header (16 bit)" (0) 0x2-0x2.3 (0.4)
0x000| 79 | y | sample_rate: 44100 0x2.4-0x2.7 (0.4)
0x000| 08 | . | channel_assignment: mono (1) 0x3-0x3.3 (0.4)
0x000| 08 | . | channel_assignment: "mono" (1) 0x3-0x3.3 (0.4)
0x000| 08 | . | sample_size: 16 0x3.4-0x3.6 (0.3)
0x000| 08 | . | reserved1: Correct (0x0) 0x3.7-0x3.7 (0.1)
0x000| 08 | . | reserved1: "Correct" (0x0) 0x3.7-0x3.7 (0.1)
| | | end_of_header: {} 0x4-0x6.7 (3)
0x000| 00 | . | frame_number: 0 0x4-0x4.7 (1)
0x000| 01 b8 | .. | block_size: 441 0x5-0x6.7 (2)
0x000| 55 | U | crc: Correct (55) 0x7-0x7.7 (1)
0x000| 55 | U | crc: "Correct" (55) 0x7-0x7.7 (1)
| | | subframes: [1] 0x8-0x1fd.2 (501.3)
| | | [0]: subframe {} 0x8-0x1fd.2 (501.3)
0x000| 4e | N | zero_bit: Correct (0x0) 0x8-0x8 (0.1)
0x000| 4e | N | subframe_type: LPC (3) 0x8.1-0x8.6 (0.6)
0x000| 4e | N | zero_bit: "Correct" (0x0) 0x8-0x8 (0.1)
0x000| 4e | N | subframe_type: "LPC" (3) 0x8.1-0x8.6 (0.6)
| | | lpc_order: 8 0x8.7-NA (0)
0x000| 4e | N | wasted_bits_flag: 0 0x8.7-0x8.7 (0.1)
| | | subframe_sample_size: 16 0x9-NA (0)
Expand All @@ -44,7 +44,7 @@ $ fq -d flac_frame verbose /frame
0x020| df a3 fc | ... | [5]: value -737 0x23.4-0x25.2 (1.7)
0x020| fc 03 71 | ..q | [6]: value -4083 0x25.3-0x27.1 (1.7)
0x020| 71 e5 80 | q.. | [7]: value -7221 0x27.2-0x29 (1.7)
0x020| 80 | . | residual_coding_method: rice (4) 0x29.1-0x29.2 (0.2)
0x020| 80 | . | residual_coding_method: "rice" (4) 0x29.1-0x29.2 (0.2)
0x020| 80 | . | partition_order: 0 0x29.3-0x29.6 (0.4)
| | | rice_partitions: 1 0x29.7-NA (0)
| | | partitions: [1] 0x29.7-0x1fd.2 (467.4)
Expand All @@ -54,5 +54,5 @@ $ fq -d flac_frame verbose /frame
0x020| ee e7 63 a9 cc e0| ..c...| samples: 773b1d4e670369a8cc612e164a64d239... 0x2a.3-0x1fd.2 (467)
0x030|6d 35 19 8c 25 c2 c9 4c 9a 47 20 bd ba 36 b3 2f|m5..%..L.G ..6./|
* |until 0x1fd.2 (467) | |
0x1f0| 20 | | byte_align: Correct (0x0) 0x1fd.3-0x1fd.7 (0.5)
0x1f0| 7f ab| ..| footer_crc: Correct (7fab) 0x1fe-0x1ff.7 (2)
0x1f0| 20 | | byte_align: "Correct" (0x0) 0x1fd.3-0x1fd.7 (0.5)
0x1f0| 7f ab| ..| footer_crc: "Correct" (7fab) 0x1fe-0x1ff.7 (2)
Loading

0 comments on commit cc5f405

Please sign in to comment.