Loading tests/test_be_for_ext_outputs.py +23 −18 Original line number Diff line number Diff line import pytest import pathlib import itertools from filecmp import cmp from tempfile import TemporaryDirectory from .conftest import EncoderFrontend, DecoderFrontend Loading Loading @@ -33,7 +34,7 @@ INPUT_FILES = [ ] # TODO: add higher BRs BITRATES = [13200, 16400, 24400, 32000, 48000, 64000, 80000, 96000, 128000, 160000, 192000, 256000] BITRATES = [13200, 16400, 24400, 32000, 48000, 64000, 80000, 96000, 128000, 160000, 192000, 256000, 384000, 512000] def get_options(inp_format): Loading @@ -52,6 +53,7 @@ def get_options(inp_format): return options @pytest.mark.parametrize("inp_format,inp_file", zip(INPUT_FORMATS, INPUT_FILES)) @pytest.mark.parametrize("bitrate", BITRATES) def test_be_for_ext_output( Loading @@ -62,6 +64,9 @@ def test_be_for_ext_output( dut_decoder_frontend: DecoderFrontend, ): if inp_format == "stereo" and bitrate > 256000: pytest.skip("Invalid bitrate for Stereo") with TemporaryDirectory() as tmp_dir: tmp_dir = pathlib.Path(tmp_dir) Loading Loading
tests/test_be_for_ext_outputs.py +23 −18 Original line number Diff line number Diff line import pytest import pathlib import itertools from filecmp import cmp from tempfile import TemporaryDirectory from .conftest import EncoderFrontend, DecoderFrontend Loading Loading @@ -33,7 +34,7 @@ INPUT_FILES = [ ] # TODO: add higher BRs BITRATES = [13200, 16400, 24400, 32000, 48000, 64000, 80000, 96000, 128000, 160000, 192000, 256000] BITRATES = [13200, 16400, 24400, 32000, 48000, 64000, 80000, 96000, 128000, 160000, 192000, 256000, 384000, 512000] def get_options(inp_format): Loading @@ -52,6 +53,7 @@ def get_options(inp_format): return options @pytest.mark.parametrize("inp_format,inp_file", zip(INPUT_FORMATS, INPUT_FILES)) @pytest.mark.parametrize("bitrate", BITRATES) def test_be_for_ext_output( Loading @@ -62,6 +64,9 @@ def test_be_for_ext_output( dut_decoder_frontend: DecoderFrontend, ): if inp_format == "stereo" and bitrate > 256000: pytest.skip("Invalid bitrate for Stereo") with TemporaryDirectory() as tmp_dir: tmp_dir = pathlib.Path(tmp_dir) Loading