mirror of https://bitbucket.org/ausocean/av.git
adpcm: updated test file names
This commit is contained in:
parent
4b8864ff20
commit
4e48a7aa09
|
@ -51,7 +51,7 @@ func TestEncodeBlock(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Read expected adpcm file.
|
// Read expected adpcm file.
|
||||||
exp, err := ioutil.ReadFile("../../../test/test-data/av/output/encoded_8kHz_adpcm_test.adpcm")
|
exp, err := ioutil.ReadFile("../../../test/test-data/av/output/encoded_8kHz_adpcm_test2.adpcm")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Errorf("Unable to read expected ADPCM file: %v", err)
|
t.Errorf("Unable to read expected ADPCM file: %v", err)
|
||||||
}
|
}
|
||||||
|
@ -65,7 +65,7 @@ func TestEncodeBlock(t *testing.T) {
|
||||||
// resulting PCM with the expected decoded PCM.
|
// resulting PCM with the expected decoded PCM.
|
||||||
func TestDecodeBlock(t *testing.T) {
|
func TestDecodeBlock(t *testing.T) {
|
||||||
// Read adpcm.
|
// Read adpcm.
|
||||||
comp, err := ioutil.ReadFile("../../../test/test-data/av/input/encoded_8kHz_adpcm_test.adpcm")
|
comp, err := ioutil.ReadFile("../../../test/test-data/av/input/encoded_8kHz_adpcm_test2.adpcm")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Errorf("Unable to read input ADPCM file: %v", err)
|
t.Errorf("Unable to read input ADPCM file: %v", err)
|
||||||
}
|
}
|
||||||
|
@ -79,7 +79,7 @@ func TestDecodeBlock(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Read expected pcm file.
|
// Read expected pcm file.
|
||||||
exp, err := ioutil.ReadFile("../../../test/test-data/av/output/decoded_8kHz_adpcm_test.pcm")
|
exp, err := ioutil.ReadFile("../../../test/test-data/av/output/decoded_8kHz_adpcm_test2.pcm")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Errorf("Unable to read expected PCM file: %v", err)
|
t.Errorf("Unable to read expected PCM file: %v", err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue