The advantages of a string assertion are less overhead when assertion checking is off and messages containing the assertion expression when an assertion fails.
assert() va vérifier l 'assertion assertion et prendre la mesure appropriée si le résultat est FALSE.