예제 #1
0
        public void shouldTestStaticArray(int[] numbers, int valueToFind, bool expected)
        {
            StaticArray array = new StaticArray(numbers);

            Assert.AreEqual(expected, array.find(valueToFind));
        }
예제 #2
0
        public void printElementsWithIndexes()
        {
            StaticArray array = new StaticArray(new [] { 10, 20, 30, 40 });

            array.printElementsWithIndexes();
        }