Пример #1
0
    public void TestMethod7()
    {
        int[] numbers = { 1, 2, 3 };

        bool actual   = BiggerFromItsNeighbours.IsBiggerThanItsNeighbours(numbers, index: 2);
        bool expected = true;

        Assert.AreEqual(expected, actual);
    }
Пример #2
0
    public void TestMethod4()
    {
        int[] numbers = { 5, 1, 5 };

        bool actual   = BiggerFromItsNeighbours.IsBiggerThanItsNeighbours(numbers, index: 1);
        bool expected = false;

        Assert.AreEqual(expected, actual);
    }