Exemplo n.º 1
0
 public void FindsIfBipartitionIsPossible(int n, int[][] dislikes, bool expected)
 {
     BipartitionsFinder.PossibleBipartition(n, dislikes).Should().Be(expected);
 }
Exemplo n.º 2
0
 public void Works(int[][] graph, bool expected)
 {
     BipartitionsFinder.IsGraphBipartite(graph).Should().Be(expected);
 }