oday
07/16/2021, 6:16 PMassert()
?
assert(1 == 1, { "Equal" })
shows nothing in the consoleoday
07/16/2021, 6:17 PMYoussef Shoaib [MOD]
07/16/2021, 6:20 PMfalse
oday
07/16/2021, 6:20 PModay
07/16/2021, 6:21 PMassert(1 == 2, {"not true"})
nothing printed stillZun
07/16/2021, 7:16 PMZun
07/16/2021, 7:16 PMephemient
07/16/2021, 8:27 PMassert
, https://www.yegor256.com/2016/06/17/dont-use-java-assertions.htmlephemient
07/16/2021, 8:28 PModay
07/16/2021, 8:30 PMephemient
07/16/2021, 8:31 PM