Exemple #1
0
    public void TestMethod1()
    {
        int[] array    = { 1, 5, 1 };
        bool  actual   = BiggerFromItsNeighbours.BiggerThanItsNeghbours(array, position: 1);
        bool  expected = true;

        Assert.AreEqual(expected, actual);
    }
Exemple #2
0
    public void TestMethod6()
    {
        int[] array    = { 1, 2, 3 };
        bool  actual   = BiggerFromItsNeighbours.BiggerThanItsNeghbours(array, position: 0);
        bool  expected = false;

        Assert.AreEqual(expected, actual);
    }