def test_to_vertex_cover(self):
        matching = maximum_matching(self.graph)
        vertex_cover = to_vertex_cover(self.graph, matching)
        self.check_vertex_cover(vertex_cover)
Test for converting a maximum matching to a minimum vertex cover.
dataset/ETHPy150Open networkx/networkx/networkx/algorithms/bipartite/tests/test_matching.py/TestMatching.test_to_vertex_cover