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

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

            array.printElementsWithIndexes();
        }