Generate test is now functional. We compute non-zero edge count based on whether graph is directed or undirected.