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
🎯 Gameplay Fixes (a.k.a. Function Corrections) • 🔧 ft_isascii has been rebalanced: now consistently returns 1 for values within the ASCII range (0–127), instead of leaking the raw character value. • 🔧 ft_isprint has been patched: returns 1 only for printable characters (32–126), aligning with the standard library. ➡️ These fixes bring our character classification system fully in line with the C standard behavior. No more unfair RNG in return values! ⸻ 🆕 New Content (a.k.a. Fresh Test Files) • 📜 test_isascii.c – Exhaustively tests ft_isascii vs isascii across values 0–128. • 📜 test_isprint.c – Pits ft_isprint against isprint across the same range. • 📜 test_tolower.c – Validates ft_tolower against tolower. • 📜 test_toupper.c – Validates ft_toupper against toupper. ⸻ ⚡ Impact • Consistent, predictable behavior for all classification and transformation functions. • A stronger, more reliable unit test suite to guard against future regressions. • Confidence boost for upcoming boss fights (👀 the rest of libft). |
||
|---|---|---|
| .github/workflows | ||
| char | ||
| convert | ||
| includes | ||
| list | ||
| memory | ||
| str | ||
| test/char | ||
| .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 |