def test_macid_raises(macid: MACID) -> None: with pytest.raises(ValueError): admits_indir_voc(macid, "D2", "D1")
def test_invalid_target(cid_fitness_tracker: CID) -> None: with pytest.raises(KeyError): admits_indir_voc(cid_fitness_tracker, "C", "_")
def test_no_indir_voc_fitness_tracker(cid_fitness_tracker: CID) -> None: assert not admits_indir_voc(cid_fitness_tracker, "C", "TF")
def test_invalid_decision(cid_fitness_tracker: CID) -> None: with pytest.raises(KeyError): admits_indir_voc(cid_fitness_tracker, "_", "TF")
def test_has_indir_voc_fitness_tracker(cid_fitness_tracker: CID) -> None: assert admits_indir_voc(cid_fitness_tracker, "C", "SC")