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) similarTo
I 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