The first project of the common-core of the school 42, where the main goal is to develop tools to the rest of the cursus
🛡️ Robustness Buffs (Conversion Functions) • 🧩 ft_atoi and ft_atoll gained a safety shield: they now return 0 when passed a null pointer, preventing accidental crashes. • This change improves stability across the board, ensuring safer handling of unexpected input. 🧪 Test Suite Expansions New & Expanded Conversion Trials • 📝 Added extensive test coverage for ft_atoi, ft_atoll, and ft_itoa, including edge cases and null pointer handling. • These tests live in test/convert/ and ensure your conversion toolkit is battle-ready for any scenario. Character Function Test Output Polish • ✨ Updated all character test files (test_isalnum.c, test_isalpha.c, test_isascii.c, test_isprint.c, test_tolower.c, test_toupper.c) with better output formatting. • Each result now ends with a newline → improved readability during long test runs. 🔨 Build & Test Process • 🧹 The Makefile has been optimized: • test target now depends on fclean + $(NAME) → always runs on a clean build. • The test runner loop has been reformatted for cleaner output. 📦 Minor Updates • 📅 File headers refreshed to reflect the latest modification dates, keeping the codebase neat and consistent. ⚡ Impact • Stronger crash resistance for conversion functions. • More comprehensive and reliable test suite. • Cleaner, more professional build & test pipeline. • Better dev experience thanks to polished test outputs. |
||
|---|---|---|
| .github/workflows | ||
| char | ||
| convert | ||
| includes | ||
| list | ||
| memory | ||
| str | ||
| test | ||
| .gitignore | ||
| Makefile | ||
| README.md | ||
This project is your very first project as a student at 42. You will need to recode a few functions of the C standard library as well as some other utility functions that you will use during your whole cursus.
| Keywords | Skills |
|---|---|
| Unix Logic | Algorithms & AI |
| Imperative programming | |
| Rigor |