Write a test driven function to find a function that finds an element in array and returns the index.

Write a test driven function to find a function that finds an element in array and returns the index.
July 13, 2020 Comments Off on Write a test driven function to find a function that finds an element in array and returns the index. Uncategorized Assignment-help
Words: 86
Pages: 1
Subject: Uncategorized

1- Write a test driven function to find a function that finds an element in array and returns the index. The program should have a test class which runs a test_find() method that tests your function under varying sizes of arrays and find target integers within and not contained within the array. do it simple and easy in c++ program 2- Develop a dry run for an algorithm that searches through an array for a value and returns the index if found otherwise returns -1.