You should allow the user to supply the epsilon value, because the precision needed for the assertion will depend on the use case.