The verify() call of CPEIsInRange() isn't right for the assertion check of