diff options
author | Oana Stratulat <oanaandreeastratulat@gmail.com> | 2011-12-30 00:47:59 +0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-01-01 00:06:31 +0400 |
commit | febd022228660cb4b4d0e7b108bfec339b7dce92 (patch) | |
tree | ed96d493008ed2b142fc13a9161c13bd68f014b5 /tests | |
parent | 464f26889c99f194d112fcf1197795d341fad38b (diff) |
FATE: add tests for dfa
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Makefile | 1 | ||||
-rw-r--r-- | tests/fate/dfa.mak | 35 | ||||
-rw-r--r-- | tests/ref/fate/dfa1 | 25 | ||||
-rw-r--r-- | tests/ref/fate/dfa10 | 8 | ||||
-rw-r--r-- | tests/ref/fate/dfa11 | 9 | ||||
-rw-r--r-- | tests/ref/fate/dfa2 | 17 | ||||
-rw-r--r-- | tests/ref/fate/dfa3 | 10 | ||||
-rw-r--r-- | tests/ref/fate/dfa4 | 13 | ||||
-rw-r--r-- | tests/ref/fate/dfa5 | 15 | ||||
-rw-r--r-- | tests/ref/fate/dfa6 | 12 | ||||
-rw-r--r-- | tests/ref/fate/dfa7 | 12 | ||||
-rw-r--r-- | tests/ref/fate/dfa8 | 36 | ||||
-rw-r--r-- | tests/ref/fate/dfa9 | 6 |
13 files changed, 199 insertions, 0 deletions
diff --git a/tests/Makefile b/tests/Makefile index 4c9f958c08..43024eb17f 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -32,6 +32,7 @@ include $(SRC_PATH)/tests/fate/atrac.mak include $(SRC_PATH)/tests/fate/audio.mak include $(SRC_PATH)/tests/fate/dct.mak include $(SRC_PATH)/tests/fate/demux.mak +include $(SRC_PATH)/tests/fate/dfa.mak include $(SRC_PATH)/tests/fate/dpcm.mak include $(SRC_PATH)/tests/fate/ea.mak include $(SRC_PATH)/tests/fate/fft.mak diff --git a/tests/fate/dfa.mak b/tests/fate/dfa.mak new file mode 100644 index 0000000000..1d6bce7fff --- /dev/null +++ b/tests/fate/dfa.mak @@ -0,0 +1,35 @@ +FATE_DFA += fate-dfa1 +fate-dfa1: CMD = framecrc -i $(SAMPLES)/chronomaster-dfa/0000.dfa + +FATE_DFA += fate-dfa2 +fate-dfa2: CMD = framecrc -i $(SAMPLES)/chronomaster-dfa/0001.dfa + +FATE_DFA += fate-dfa3 +fate-dfa3: CMD = framecrc -i $(SAMPLES)/chronomaster-dfa/0002.dfa + +FATE_DFA += fate-dfa4 +fate-dfa4: CMD = framecrc -i $(SAMPLES)/chronomaster-dfa/0003.dfa + +FATE_DFA += fate-dfa5 +fate-dfa5: CMD = framecrc -i $(SAMPLES)/chronomaster-dfa/0004.dfa + +FATE_DFA += fate-dfa6 +fate-dfa6: CMD = framecrc -i $(SAMPLES)/chronomaster-dfa/0005.dfa + +FATE_DFA += fate-dfa7 +fate-dfa7: CMD = framecrc -i $(SAMPLES)/chronomaster-dfa/0006.dfa + +FATE_DFA += fate-dfa8 +fate-dfa8: CMD = framecrc -i $(SAMPLES)/chronomaster-dfa/0007.dfa + +FATE_DFA += fate-dfa9 +fate-dfa9: CMD = framecrc -i $(SAMPLES)/chronomaster-dfa/0008.dfa + +FATE_DFA += fate-dfa10 +fate-dfa10: CMD = framecrc -i $(SAMPLES)/chronomaster-dfa/0009.dfa + +FATE_DFA += fate-dfa11 +fate-dfa11: CMD = framecrc -i $(SAMPLES)/chronomaster-dfa/0010.dfa + +FATE_TESTS += $(FATE_DFA) +fate-dfa: $(FATE_DFA) diff --git a/tests/ref/fate/dfa1 b/tests/ref/fate/dfa1 new file mode 100644 index 0000000000..c268367f79 --- /dev/null +++ b/tests/ref/fate/dfa1 @@ -0,0 +1,25 @@ +0, 0, 308224, 0x4eb64db1 +0, 11520, 308224, 0xbdc5595e +0, 23040, 308224, 0x795032b7 +0, 34560, 308224, 0xc808f69e +0, 46080, 308224, 0x8b4376ba +0, 57600, 308224, 0xdfd3be4c +0, 69120, 308224, 0xc2edda1b +0, 80640, 308224, 0x7dd38e7b +0, 92160, 308224, 0x79c08795 +0, 103680, 308224, 0x30e924b1 +0, 115200, 308224, 0xbda01fbb +0, 126720, 308224, 0x7c78d952 +0, 138240, 308224, 0xd4e425f7 +0, 149760, 308224, 0xd0ec4cdf +0, 161280, 308224, 0x8062992a +0, 172800, 308224, 0xd6cbd611 +0, 184320, 308224, 0x1083fe8e +0, 195840, 308224, 0x4efc3e39 +0, 207360, 308224, 0x5d67a998 +0, 218880, 308224, 0xe0ffbc9c +0, 230400, 308224, 0x8e2cc5e0 +0, 241920, 308224, 0x5ad7269f +0, 253440, 308224, 0x6830aad2 +0, 264960, 308224, 0xc8fee524 +0, 276480, 308224, 0xc89e7654 diff --git a/tests/ref/fate/dfa10 b/tests/ref/fate/dfa10 new file mode 100644 index 0000000000..c03df64650 --- /dev/null +++ b/tests/ref/fate/dfa10 @@ -0,0 +1,8 @@ +0, 0, 65024, 0x0a87d009 +0, 6390, 65024, 0x9191399b +0, 12780, 65024, 0x36c8c351 +0, 19170, 65024, 0xc1004a53 +0, 25560, 65024, 0x479625f8 +0, 31950, 65024, 0xdfab5170 +0, 38340, 65024, 0x2fae5741 +0, 44730, 65024, 0x98cea283 diff --git a/tests/ref/fate/dfa11 b/tests/ref/fate/dfa11 new file mode 100644 index 0000000000..22f7740293 --- /dev/null +++ b/tests/ref/fate/dfa11 @@ -0,0 +1,9 @@ +0, 0, 65024, 0xc17b6232 +0, 6390, 65024, 0x6687b1aa +0, 12780, 65024, 0x7a046b14 +0, 19170, 65024, 0x25734b71 +0, 25560, 65024, 0x0bd3519d +0, 31950, 65024, 0x3c84ca25 +0, 38340, 65024, 0x269ba3c7 +0, 44730, 65024, 0xe4e17223 +0, 51120, 65024, 0x4d71b7bc diff --git a/tests/ref/fate/dfa2 b/tests/ref/fate/dfa2 new file mode 100644 index 0000000000..a1c91cec60 --- /dev/null +++ b/tests/ref/fate/dfa2 @@ -0,0 +1,17 @@ +0, 0, 308224, 0x53d98b6d +0, 6390, 308224, 0xcc319665 +0, 12780, 308224, 0x7edb8714 +0, 19170, 308224, 0x8b489159 +0, 25560, 308224, 0x535b8230 +0, 31950, 308224, 0x5db4851e +0, 38340, 308224, 0x29e09995 +0, 44730, 308224, 0x0d1e9546 +0, 51120, 308224, 0xceab7712 +0, 57510, 308224, 0x013f7ac8 +0, 63900, 308224, 0xb701543a +0, 70290, 308224, 0x919b39f3 +0, 76680, 308224, 0x714629a3 +0, 83070, 308224, 0x0e6af89b +0, 89460, 308224, 0x99f7f7e5 +0, 95850, 308224, 0x68d0e08f +0, 102240, 308224, 0x9f08d802 diff --git a/tests/ref/fate/dfa3 b/tests/ref/fate/dfa3 new file mode 100644 index 0000000000..4d92322953 --- /dev/null +++ b/tests/ref/fate/dfa3 @@ -0,0 +1,10 @@ +0, 0, 65024, 0xb65d6443 +0, 9000, 65024, 0x433eb164 +0, 18000, 65024, 0x3ff19134 +0, 27000, 65024, 0x515e185f +0, 36000, 65024, 0x2236fb61 +0, 45000, 65024, 0xcc00194e +0, 54000, 65024, 0xc3618ddb +0, 63000, 65024, 0xe28a1ca4 +0, 72000, 65024, 0xfe584bb4 +0, 81000, 65024, 0xd41e54d8 diff --git a/tests/ref/fate/dfa4 b/tests/ref/fate/dfa4 new file mode 100644 index 0000000000..5dedf1504e --- /dev/null +++ b/tests/ref/fate/dfa4 @@ -0,0 +1,13 @@ +0, 0, 308224, 0xcbf38c88 +0, 12780, 308224, 0x13ca020e +0, 25560, 308224, 0x3d6fba11 +0, 38340, 308224, 0xfd4d9025 +0, 51120, 308224, 0x56536094 +0, 63900, 308224, 0x56536094 +0, 76680, 308224, 0x56536094 +0, 89460, 308224, 0x56536094 +0, 102240, 308224, 0x56536094 +0, 115020, 308224, 0x56536094 +0, 127800, 308224, 0x4f4aaf8f +0, 140580, 308224, 0x07f9ae83 +0, 153360, 308224, 0xd0a068eb diff --git a/tests/ref/fate/dfa5 b/tests/ref/fate/dfa5 new file mode 100644 index 0000000000..1485d3b9b9 --- /dev/null +++ b/tests/ref/fate/dfa5 @@ -0,0 +1,15 @@ +0, 0, 65024, 0x773b2585 +0, 9000, 65024, 0x33c76718 +0, 18000, 65024, 0x0016a365 +0, 27000, 65024, 0x3d6b811d +0, 36000, 65024, 0x53d35d3e +0, 45000, 65024, 0xd3195adc +0, 54000, 65024, 0x904e9492 +0, 63000, 65024, 0x4b905b93 +0, 72000, 65024, 0x97a24d60 +0, 81000, 65024, 0x5738bbd2 +0, 90000, 65024, 0x60c9213f +0, 99000, 65024, 0x2f2966c2 +0, 108000, 65024, 0x5d82ba0e +0, 117000, 65024, 0x3e18fd53 +0, 126000, 65024, 0xf199519d diff --git a/tests/ref/fate/dfa6 b/tests/ref/fate/dfa6 new file mode 100644 index 0000000000..b9f943c434 --- /dev/null +++ b/tests/ref/fate/dfa6 @@ -0,0 +1,12 @@ +0, 0, 65024, 0x78ca2f73 +0, 6390, 65024, 0x7993cfbb +0, 12780, 65024, 0xe43b2c7d +0, 19170, 65024, 0x1b2e754a +0, 25560, 65024, 0xe543704d +0, 31950, 65024, 0x298c7243 +0, 38340, 65024, 0x521720ff +0, 44730, 65024, 0xc49498ab +0, 51120, 65024, 0x00fc4739 +0, 57510, 65024, 0xff03e8d4 +0, 63900, 65024, 0x79c09db5 +0, 70290, 65024, 0xee66fd09 diff --git a/tests/ref/fate/dfa7 b/tests/ref/fate/dfa7 new file mode 100644 index 0000000000..87bf67622c --- /dev/null +++ b/tests/ref/fate/dfa7 @@ -0,0 +1,12 @@ +0, 0, 3648, 0x29484c3c +0, 6390, 3648, 0xa16855bb +0, 12780, 3648, 0x538353d6 +0, 19170, 3648, 0x735b4dfb +0, 25560, 3648, 0x15874bf8 +0, 31950, 3648, 0x96f558fc +0, 38340, 3648, 0xd5715d7e +0, 44730, 3648, 0x33ab5529 +0, 51120, 3648, 0xe7434c9b +0, 57510, 3648, 0x5f2e52a7 +0, 63900, 3648, 0xd32a4b54 +0, 70290, 3648, 0xd3b8547a diff --git a/tests/ref/fate/dfa8 b/tests/ref/fate/dfa8 new file mode 100644 index 0000000000..6f5d3ecfa6 --- /dev/null +++ b/tests/ref/fate/dfa8 @@ -0,0 +1,36 @@ +0, 0, 45932, 0xa55439fb +0, 6390, 45932, 0x071f423f +0, 12780, 45932, 0xf0aac5a9 +0, 19170, 45932, 0x9f3b803b +0, 25560, 45932, 0xeb68e802 +0, 31950, 45932, 0xfa3a994d +0, 38340, 45932, 0x0ed46f09 +0, 44730, 45932, 0x2374f44c +0, 51120, 45932, 0x2dde0a6e +0, 57510, 45932, 0x941e579f +0, 63900, 45932, 0x44ef4c63 +0, 70290, 45932, 0x743aa480 +0, 76680, 45932, 0x4eeb6204 +0, 83070, 45932, 0x60eb012c +0, 89460, 45932, 0x35f34724 +0, 95850, 45932, 0xc7565c42 +0, 102240, 45932, 0x9dc310c3 +0, 108630, 45932, 0x0afac80a +0, 115020, 45932, 0x720112f1 +0, 121410, 45932, 0x59d35a12 +0, 127800, 45932, 0xeadb11c1 +0, 134190, 45932, 0x8a2fb50a +0, 140580, 45932, 0xe730d603 +0, 146970, 45932, 0x8fb0b733 +0, 153360, 45932, 0x644bfddd +0, 159750, 45932, 0x7bec84af +0, 166140, 45932, 0x89892d60 +0, 172530, 45932, 0x9c74e8d4 +0, 178920, 45932, 0x81429e13 +0, 185310, 45932, 0xab80509d +0, 191700, 45932, 0x30914ddc +0, 198090, 45932, 0x925f64c0 +0, 204480, 45932, 0x6e3454bf +0, 210870, 45932, 0x32b072c4 +0, 217260, 45932, 0xae5049a4 +0, 223650, 45932, 0xde749c5a diff --git a/tests/ref/fate/dfa9 b/tests/ref/fate/dfa9 new file mode 100644 index 0000000000..f1de996a60 --- /dev/null +++ b/tests/ref/fate/dfa9 @@ -0,0 +1,6 @@ +0, 0, 77076, 0xd202cc47 +0, 6390, 77076, 0x7cceaf30 +0, 12780, 77076, 0x2baa1d52 +0, 19170, 77076, 0x89b1787a +0, 25560, 77076, 0x252af096 +0, 31950, 77076, 0xc77cff33 |