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