def METHOD_NAME(self):
    """Test terms,weights,constant of QUBO generated by MVC class"""
    mvc_terms = [
        [0, 3],
        [0, 4],
        [1, 2],
        [1, 3],
        [2, 4],
        [3, 4],
        [0],
        [1],
        [2],
        [3],
        [4],
    ]
    mvc_weights = [1.25, 1.25, 1.25, 1.25, 1.25, 1.25, 2.0, 2.0, 2.0, 3.25, 3.25]
    mvc_constant = 10.0
    gr = nx.generators.fast_gnp_random_graph(5, 0.8, seed=1234)
    mvc_prob = MinimumVertexCover(gr, field=1.0, penalty=5).qubo
    self.assertTrue(terms_list_equality(mvc_terms, mvc_prob.terms))
    self.assertEqual(mvc_weights, mvc_prob.weights)
    self.assertEqual(mvc_constant, mvc_prob.constant)