Yes as the comment state this will only generate 2 partitions.