1.

assertThat(1.03, is(closeTo(1.0, 0.03))) is ____________(a) True(b) False(c) Null(d) ErrorI got this question in exam.This key question is from Integration Software Testing in portion Software Testing Principles of JUnit

Answer» RIGHT ANSWER is (a) True

The EXPLANATION is: 1.0 + 0.03 is 1.03 which is the FIRST VALUE.


Discussion

No Comment Found

Related InterviewSolutions