ASSERT_GE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 ASSERT_GE(9) β€” the "bestie, is it at LEAST this big?" check πŸ’…

okay so real talk, this page lives in the Kernel API Manual (that's the manual name, iykyk), and the star of the show is ASSERT_GE. It's the assert that makes sure your number is not smaller than the bar you set. Genuinely iconic behaviour tbh 🫢


✨ NAME ✨

ASSERT_GE β€” the assert that goes "expected >= measured, or we're throwing hands" πŸ’€

(The original NAME section is literally blank after the dash, so like… that's the whole vibe. No cap.)


πŸŽ€ SYNOPSIS πŸŽ€

ASSERT_GE (expected , seen );

that's it, that's the whole call. two args, one job, zero drama ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • expected β€” the expected value πŸ’– the bar, the standard, the "it should be at least this" number you're holding everything to.
  • seen β€” the measured value πŸ”₯ the actual number that showed up to the function. vibe check time.

πŸ‘‘ DESCRIPTION πŸ‘‘

so here's the tea, bestie:

ASSERT_GE(expected, measured): expected >= measured

ASSERT_GE checks that expected is greater than or equal to measured. that's the whole thing. it's giving "greater-than-or-equal-to, but make it a kernel assert" ⭐

lowkey important: this page refers to the second thing as measured in the DESCRIPTION even though the ARGUMENTS section calls it seen. that's just how the page is written β€” both show up, so don't come for me πŸ™ˆ

🌈 SEE ALSO 🌈

okay this list is long and honestly kinda iconic, so buckle up bestie πŸŽ€

like I said. a whole squad. the ASSERT_* girlies, the EXPECT_* girlies, the fixture family, all of them. main character energy across the board πŸ’…


and that's the page, bestie!! 🧚 source lives over in ./tools/testing/selftests, and this whole thing was dated October 2026 β€” so yeah, timestamped and slaying. go forth and assert that your values are at least as big as they should be πŸ’–βœ¨πŸ“

πŸ“¦ where this page comes from