Add assertion macros

note: https://gist.github.com/gintenlabo/effa71baf26cb6114e0c (ja)