Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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)