one_in and all_in also accepts a range