1.

assertThat(0.03, is(closeTo(1.0, 0.03))) is ___________(a) True(b) False(c) Null(d) ErrorThe question was asked during an online exam.My question is taken from Integration Software Testing topic in section Software Testing Principles of JUnit

Answer»

Right CHOICE is (b) False

The BEST I can explain: 1.0-0.03 = 0.97>0.03, hence is false.



Discussion

No Comment Found

Related InterviewSolutions