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