1.

1 Which Hamcrest core matcher checks if a number is equal to a number of some acceptable error?(a) closeTo(b) equals(c) errorBy(d) similarToI got this question in an international level competition.This is a very interesting question from Integration Software Testing topic in chapter Software Testing Principles of JUnit

Answer» CORRECT ANSWER is (a) closeTo

Explanation: Test WHETHER given numbers are close to a given value.


Discussion

No Comment Found

Related InterviewSolutions