'Test for converting a maximum matching to a minimum vertex cover.'

def test_to_vertex_cover(self):

    matching = maximum_matching(self.graph, self.top_nodes)
    vertex_cover = to_vertex_cover(self.graph, matching, self.top_nodes)
    self.check_vertex_cover(vertex_cover)
