ASSERT_LT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– ASSERT_LT(9) πŸ’–

okay so bestie, this is a section 9 kernel API manual page, and it's literally the shortest glow-up ever β€” but we're gonna make it iconic anyway. It's called ASSERT_LT, and yes, it's about to be your new fave comparison macro. πŸŽ€


✨ SYNOPSIS ✨

ASSERT_LT (expected , seen );

like, that's it. that's the whole vibe. πŸ¦‹


🌸 ARGUMENTS 🌸

  • expected β€” the expected value, aka the number you were manifesting ✨
  • seen β€” the measured value, aka the number that actually showed up to the party πŸ™ˆ

πŸ’… DESCRIPTION πŸ’…

ASSERT_LT(expected, measured): expected < measured

no cap, that's the entire description. it checks that expected is less than measured, periodt. the way this macro does exactly one thing and does it flawlessly β€” main character energy fr fr. πŸ”₯


πŸ‘‘ SEE ALSO πŸ‘‘

the whole squad, bestie, no one's getting left out:


ngl this page had zero warnings, zero exit statuses, zero environment variables β€” nothing to be dramatic about. so just go read the friends above if you want lore. πŸ’œ

and that's a wrap, bestie! 🫢 this little gem lives under ./tools/testing/selftests and it's stamped October 2026 β€” screenshot it, frame it, put it on the fridge. ASSERT_LT(9) out. πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from