MCPcopy Create free account
hub / github.com/jwasham/practice-python / test_bipartite

Function test_bipartite

graphs/undirected_graph_matrix.py:176–181  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

174
175
176def test_bipartite():
177 udg = get_test_graph_1()
178 assert(udg.is_bipartite() == False)
179
180 udg2 = get_test_graph_2()
181 assert (udg2.is_bipartite() == True)
182
183
184def main():

Callers 1

mainFunction · 0.85

Calls 3

is_bipartiteMethod · 0.80
get_test_graph_1Function · 0.70
get_test_graph_2Function · 0.70

Tested by

no test coverage detected