Esempio n. 1
0
 def test_macid_raises(macid: MACID) -> None:
     with pytest.raises(ValueError):
         admits_voc_list(macid)
Esempio n. 2
0
 def test_no_quantitative_voc(cid_3node: CID) -> None:
     assert set(admits_voc_list(cid_3node)) == {"U", "S"}
     assert quantitative_voc(cid_3node, "S") == pytest.approx(
         0)  # in this parameterisation, S has no value of control
Esempio n. 3
0
 def test_modified_content_recommender(
         cid_modified_content_recommender: CID) -> None:
     assert set(admits_voc_list(cid_modified_content_recommender)) == {
         "O", "M", "C"
     }