My own library in c
To test your functions, you’ll need to copy the tests directory into the root of your project directory. Ensure all files in the root directory do not contain a main function.
Your directory should look like this:
project-root/
├── ft_func1.c
├── ft_func2.c
├── ...
└── tests/ # directory goes here
To run test on a particular function, use the following command:
./tests/runtests.sh memmoveReplace memmove with the name of the function you want to test.
To test the entire library, use the following command:
./tests/runtests.sh all