Can someone please help me with. Suppose i have developed a big logic as a separate function. Is it possible for me to test the function alone independent of main routine using some testing tool. I plan to give all the possible inputs and verify my expected output with actual values. I am asking this since i find lot of bugs while doing actual tests and i have to keep flashing several times.