Algorithms_in_C 1.0.0
Set of algorithms implemented in C.
|
File used to test min_printf function. More...
Functions | |
int | main () |
for min_printf function for printf function More... | |
File used to test min_printf function.
The test will be executed by comparing the result of both min_printf
and printf
functions
int main | ( | void | ) |
for min_printf
function for printf
function
Main function
This function is used to test min_printf
function. The numbers and string used for the test is generated randomly (The user can also specify their own value for tests) First integers were tested then floats and at last strings After running the program the user will see three pair of lines with each pair followed by an empty line In each pair of lines, the first line will be printed by min_printf
function and next line by the actual printf
function In each line user will see number or string covered with two colons, they are used to check from where the printing was started and where it ends
Printing an empty new line