Questions tagged [function-testing]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
2answers
2k views

nanosleep function Implicit deceleration

I am working on my Final Project and I need to use the nanosleep function which suspends my program for a specified number of seconds. I tried to test this function first before using it in my actual ...
0
votes
1answer
26 views

pset3: When testing binary search code, how do I print when needle is found?

I would like to test if my binary search function is working correctly. I have created an array that is passed into a working bubble sort function. Printing the sorted array works just fine, all I ...
2
votes
1answer
183 views

How does check50 works?

I am curious about how check50 works internally. What does it do to make that kind of tests for each program (each pset?). What if I want to implement something like check50? Any advice?
-1
votes
1answer
164 views

pset5-load function testing separately (with improved format for Clang Errors)

I have been trying to test load function separately (Using Zamyla video for some guidance:http://www.youtube.com/watch?v=E_1D17P-bM0). I have watched this tape several times, but still unable to load ...