public void Given4on25UpperRightShouldBeNone()
    {
        // Use the Assert class to test conditions.
        var indexService = new SurroundingIndexService();

        var result = indexService.FigureUpperRightIndex(4, 5);

        Assert.AreEqual(-1, result);
    }
    public void Given5on25LowerLeftShouldBeNone()
    {
        // Use the Assert class to test conditions.
        var indexService = new SurroundingIndexService();
        //var result = indexService.FigureSuroundingIndexes(5, 5, 25);
        var result = indexService.FigureLowerLeftIndex(5, 5, 25);

        Assert.AreEqual(-1, result);
    }
    public void Given6SourroundingIndexesShouldMatch()
    {
        // Use the Assert class to test conditions.
        var indexService = new SurroundingIndexService();
        var result       = indexService.FigureSuroundingIndexes(6, 5, 25);

        Assert.AreEqual(1, result[0]);
        Assert.AreEqual(2, result[1]);
        Assert.AreEqual(7, result[2]);
        Assert.AreEqual(12, result[3]);
        Assert.AreEqual(11, result[4]);
        Assert.AreEqual(10, result[5]);
        Assert.AreEqual(5, result[6]);
        Assert.AreEqual(0, result[7]);
    }
    public void Given9SourroundingIndexesShouldMatch()
    {
        // Use the Assert class to test conditions.
        var indexService = new SurroundingIndexService();
        var result       = indexService.FigureSuroundingIndexes(9, 5, 25);

        Assert.AreEqual(4, result[0]);
        Assert.AreEqual(-1, result[1]);
        Assert.AreEqual(-1, result[2]);
        Assert.AreEqual(-1, result[3]);
        Assert.AreEqual(14, result[4]);
        Assert.AreEqual(13, result[5]);
        Assert.AreEqual(8, result[6]);
        Assert.AreEqual(3, result[7]);
    }