Commit 6da9e84f authored by Jiaquan Huo's avatar Jiaquan Huo
Browse files

no test vector cutting for ltv tests

parent 81436f19
Loading
Loading
Loading
Loading
+10 −4
Original line number Diff line number Diff line
@@ -126,8 +126,10 @@ def test_pca_enc(
    
    if "ltv" in tag:
        tag = f"ltv{fs}_FOA"
        cut_testv = False
    elif "stv" in tag:
        tag = tag + fs + "c"
        cut_testv=True
    else:
        assert 0 

@@ -150,7 +152,7 @@ def test_pca_enc(
            update_ref,
            gain_flag,
            keep_files,
            cut_testv=True,
            cut_testv=cut_testv,
            pca=pca,
        )

@@ -236,8 +238,10 @@ def test_sba_enc_system(

    if "ltv" in tag:
        tag = f"ltv{fs}_FOA"
        cut_testv = False
    elif "stv" in tag:
        tag = tag + fs + "c"
        cut_testv = True
    else:
        assert 0 

@@ -272,7 +276,7 @@ def test_sba_enc_system(
            keep_files,
            cut_gain=cut_gain,
            create_dutenc=True,
            cut_testv=True,
            cut_testv=cut_testv,
        )

    # dec
@@ -515,8 +519,10 @@ def test_sba_enc_BWforce_system(
    bw = sample_rate_bw_idx[1]
    if "ltv" in tag:
        tag = f"ltv{fs}_FOA"
        cut_testv = False
    elif "stv" in tag:
        tag = tag + fs + "c"
        cut_testv = True
    else:
        assert 0 
    gain_flag = -1
@@ -542,7 +548,7 @@ def test_sba_enc_BWforce_system(
            update_ref,
            gain_flag,
            keep_files,
            cut_testv=True,
            cut_testv=cut_testv,
        )

    # dec