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