Ftprintfdestructor
A script that destroys the school 42 project ft_printf
Install / Use
/learn @t0mm4rx/FtprintfdestructorREADME
ftprintfdestructor
This project is a script that generate thousands of tests for the school 42 project ft_printf.
It doesn't test %p flag.
By tmarx
Usage
git clone https://github.com/t0mm4rx/ftprintfdestructor
cd ftprintfdestructor
sh run.sh <path-of-ftprintf>
If you want to increase the number of tests, edit run.py, at the top of the file there are two constants, M and N. N is the number of tests in each main generated. M is the number of main generated.
How it works
This script generate hundreds of random test, then create two mains. One calling these tests with printf and the other with ft_printf. Then, it compares line by line and print the tests that failed.
The value between -- X -- is the return value of the function.
Related Skills
node-connect
339.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
339.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.9kCommit, push, and open a PR
