Exemple #1
0
 def test_macid_raises(macid: MACID) -> None:
     with pytest.raises(ValueError):
         admits_dir_voc(macid, "D2")
Exemple #2
0
 def test_no_dir_voc_fitness_tracker(cid_fitness_tracker: CID) -> None:
     assert not admits_dir_voc(cid_fitness_tracker, "TF")
Exemple #3
0
 def test_invalid_target(cid_fitness_tracker: CID) -> None:
     with pytest.raises(KeyError):
         admits_dir_voc(cid_fitness_tracker, "_")
Exemple #4
0
 def test_has_dir_voc_fitness_tracker(cid_fitness_tracker: CID) -> None:
     assert admits_dir_voc(cid_fitness_tracker, "F")