1.

The closeTo function is found under which package?(a) org.hamcrest.TypeSafeMatcher(b) org.hamcrest.BaseMatcher(c) org.hamcrest.number.IsCloseTo(d) org.hamcrest.number.CloseToThe question was posed to me in unit test.The query is from Integration Software Testing in section Software Testing Principles of JUnit

Answer»

Right choice is (c) org.hamcrest.number.IsCloseTo

To EXPLAIN: The CLOSETO function is actually a METHOD of the isCloseTo CLASS of Hamcrest.



Discussion

No Comment Found

Related InterviewSolutions