You might want to assert() that you have enough headroom in a statically allocated buffer when testing. Say you assert that the buffer is never more than 50% full for normal loads. You obviously don't want the -release build to make such an assumption!
You're misunderstanding and misusing assert. 'assume' is completely redundant with 'assert'. To have different debug builds, use debug statements.
