def test_make_from_da(self): da = DialogueAct('inform(food=czech)&inform(area=north)') dacn = DialogueActConfusionNetwork.make_from_da(da) self.assertEqual(dacn.get_best_da(), da)