inRange
Method test sample