def METHOD_NAME(self):
    """Test that MIS creates a correct QUBO from the provided graph"""
    gr = nx.generators.random_graphs.fast_gnp_random_graph(n=5, p=0.8, seed=1234)
    gr_edges = [
        [0, 3],
        [0, 4],
        [1, 2],
        [1, 3],
        [2, 4],
        [3, 4],
        [0],
        [1],
        [2],
        [3],
        [4],
    ]
    gr_weights = [0.5, 0.5, 0.5, 0.5, 0.5, 0.5, -0.5, -0.5, -0.5, -1.0, -1.0]
    mis_prob_qubo = MIS(gr).qubo
    self.assertTrue(terms_list_equality(gr_edges, mis_prob_qubo.terms))
    self.assertEqual(gr_weights, mis_prob_qubo.weights)
    self.assertEqual(0.5, mis_prob_qubo.constant)