Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thepaqui/42_libft_test_main
My own test main for Libft.
https://github.com/thepaqui/42_libft_test_main
Last synced: 10 days ago
JSON representation
My own test main for Libft.
- Host: GitHub
- URL: https://github.com/thepaqui/42_libft_test_main
- Owner: thepaqui
- Created: 2022-11-08T23:07:02.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-10T14:37:44.000Z (almost 2 years ago)
- Last Synced: 2023-07-27T19:30:57.665Z (over 1 year ago)
- Language: C
- Size: 37.1 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 42_Libft_test_main
This is my own test main for Libft (version 15, started on November 7th 2022).Use at your own risk, this doesn't test everything and is meant to help for peer-to-peer corrections.
This doesn't test the bonuses. This isn't trying to emulate the Moulinette, there is no trace. This is mostly a visual help for personal testing.
I don't plan on updating this anymore, but feel free to take this code and customize it.
# How to use
Compile this main with your own libft.a and run your program.
Running the program without arguments will test everything.
Running it with one or more test codes as arguments will only test the functions associated with the codes.
To know the test codes, check out test_codes.txt.
The tests are easily modifiable with defines, however the length of the file might be a problem... (The tests are in the same order as the test codes)