A magical tester for 42's get_next_line project! 🧙♂️✨ tests BOTH mandatory and bonus features ᕙ(⇀‸↼‶)ᕗ, including multi-FD handling, edge cases, and memory leaks. and ofc it's wizard-themed test files and saves results to a folder. Clone, run, and ensure your GNL project! huehuehue🔮 NOW, young sorcerer, to the get_next_line Wizard Tester! This enchanted tester will help you test your 42 get_next_line project with ease. still I highly encourage you try other testers as well and test on your own!
- Mandatory Tests: All the usual suspects, from single lines to multi-line incantations.
- Bonus Tests: Handle multiple FDs with wizard-like grace. 🧙♀️
- Edge Cases: We’ve got every spell (or bug) covered, even with no newline at the end! ( ⸝⸝´꒳`⸝⸝) 🔮
- Memory Leak Check: No dark magic here – run a
valgrind
check to ensure your code is clean! <( ⸝⸝•̀ - •́⸝⸝)>🧹
-
Clone this repository:
git clone https://github.com/HajerZam/42GNL_WizardTester.git cd 42GNL_WizardTester
-
Run the tests:
make cast_test
-
Cast your
get_next_line
spells! see the magic unfold! ৻( •̀ ᗜ •́ ৻) -
Check the test_results folder to view the outcome of your get_next_line.
This project is under the MIT License – use, modify, and share freely, as long as you remember to credit the original wizard. THE WIZARD LIZARD 💫