assertion
A check that panics if something isn't true.
assert! and assert_eq! panic with a message when their condition or equality doesn't hold.
Examples
assert_eq!(2 + 2, 5)panics with the message "assertionleft == rightfailed", then showsleft: 4andright: 5.