def test_use_nfeats_filtsz_unchanged():
    gold_filtsz = [random.randint(1, 10) for _ in range(random.randint(2, 6))]
    nfeat = random.randint(1, 100)
    (filtsz, _) = calc_nfeats(gold_filtsz, None, None, nfeats=nfeat)
    assert (filtsz == gold_filtsz)
def test_use_nfeats_filtsz_unchanged():
    gold_filtsz = [random.randint(1, 10) for _ in range(random.randint(2, 6))]
    nfeat = random.randint(1, 100)
    (filtsz, _) = calc_nfeats(gold_filtsz, None, None, nfeats=nfeat)
    assert (filtsz == gold_filtsz)