Commit edd8d5cb authored by Lauros Pajunen's avatar Lauros Pajunen
Browse files

Add masa ext renderer BE tests

parent a24d3b7e
Loading
Loading
Loading
Loading
Loading
+1 −13
Original line number Diff line number Diff line
@@ -365,24 +365,12 @@ def test_ism_binaural_headrotation_refvec_rotating(test_info, in_fmt, out_fmt):
""" MASA """


@pytest.mark.parametrize("out_fmt", OUTPUT_FORMATS[2:])
@pytest.mark.parametrize("out_fmt", OUTPUT_FORMATS)
@pytest.mark.parametrize("in_fmt", INPUT_FORMATS_MASA)
def test_masa(test_info, in_fmt, out_fmt):
    run_renderer(in_fmt, out_fmt, in_meta_files=FORMAT_TO_METADATA_FILES[in_fmt])


# MASA inputs not supported yet
# @pytest.mark.parametrize("out_fmt", OUTPUT_FORMATS)
# @pytest.mark.parametrize("in_fmt", METADATA_SCENES_TO_TEST_NO_BE)
# def test_metadata_masa(test_info, in_fmt, out_fmt):
#     # TODO: unify with test_metadata once Python supports MASA
#     cut, cut_fs = run_renderer(
#         "META",
#         out_fmt,
#         metadata_input=TEST_VECTOR_DIR.joinpath(f"{in_fmt}.txt"),
#     )


""" Custom loudspeaker layouts """


+8 −1
Original line number Diff line number Diff line
@@ -137,7 +137,14 @@ def test_ism_binaural_headrotation(test_info, in_fmt, out_fmt, trj_file):


""" MASA """
# TODO: MASA inputs not supported yet

@pytest.mark.parametrize("out_fmt", OUTPUT_FORMATS)
@pytest.mark.parametrize("in_fmt", INPUT_FORMATS_MASA)
def test_masa(test_info, in_fmt, out_fmt):
    compare_renderer_vs_mergetarget(
        test_info, in_fmt, out_fmt, in_meta_files=FORMAT_TO_METADATA_FILES[in_fmt]
    )


""" Custom loudspeaker layouts """