java assertNovember 30, 2022 · One min read背景 assert 是glibc 一个函数. java也有类似功能,断言是可以快速在测试环境发现问题的功能. 在java里面,assert是一个Statement 也就是一个语句