public void IsEdgeThrowsExceptionIfIndexIsOutOfRange() { Int32[,] dblArray = new Int32[,] { {1, 2, 3}, {2, 1, 2}, {3, 2, 1} }; var symmMatrix = new SymmetricMatrix<Int32>(Guid.NewGuid(), dblArray); Assert.Throws<IndexOutOfRangeException>(() => symmMatrix.IsEdge(4, 0)); Assert.Throws<IndexOutOfRangeException>(() => symmMatrix.IsEdge(1, -1)); }