Skip to content
Advertisement

Tag: eclemma

Test Coverage: How to cover assertions?

EDIT: So It looks like JeffStorey link to the bug is correct. With assertions enabled the compiler will generate extra code. There ends up being 1 extra unreachable branch created. One of my methods constructor has these asserts I’m trying to cover it by doing this And again with values Board (-4 , 2) and Board (2, 2) So I’ve

Advertisement