如何在 IntelliJ 中启用断言?我的代码可以编译,但断言不会显示在输出的任何位置。
例如:
public static void main(String[] args) { int someInt = 5; assert someInt > 5; assert someInt <= 5; }
intellij-idea
intellij-idea ×1