The range could have a gap in it theoretically. (You may know your data here - and know it doesn't.) But the more accurate/representative test might be to strictly check for members of the result in the bounds.