public void Generate_ReturnsTwoDimensionalArrayWithSpecifiedSize()
 {
     int size = 3;
     GraphArrayGenerator generator = new GraphArrayGenerator();
     var graphArray = generator.Generate(size);
     Assert.NotNull(graphArray);
     Assert.AreEqual(graphArray.Rank, 2);
 }
 public void Generate_ReturnedArrayIsFilledWithZeroOneValues()
 {
     int size = 1;
     GraphArrayGenerator generator = new GraphArrayGenerator();
     var graphArray = generator.Generate(size);
     Assert.GreaterOrEqual(graphArray[0, 0], 0);
     Assert.LessOrEqual(graphArray[0, 0], 1);
 }