Lines Matching refs:partial_cmp
513 assert_eq!(a.par_iter().partial_cmp(&b), expected); in check_partial_cmp_short_circuit()
523 .partial_cmp(&b); in check_partial_cmp_short_circuit()
542 assert_eq!(a.par_iter().partial_cmp(&b), expected); in check_partial_cmp_nan_short_circuit()
552 .partial_cmp(&b); in check_partial_cmp_nan_short_circuit()
565 let result = a.partial_cmp(b); in check_partial_cmp_direct()
572 let par_result = (0..1024).into_par_iter().partial_cmp(0..1024); in check_partial_cmp_to_seq()
573 let seq_result = (0..1024).partial_cmp(0..1024); in check_partial_cmp_to_seq()
584 let par_result = a[i..].par_iter().partial_cmp(b[i..].par_iter()); in check_partial_cmp_rng_to_seq()
585 let seq_result = a[i..].iter().partial_cmp(b[i..].iter()); in check_partial_cmp_rng_to_seq()
596 let result = a.partial_cmp(b); in check_partial_cmp_lt_direct()
603 let par_result = (0..1024).into_par_iter().partial_cmp(1..1024); in check_partial_cmp_lt_to_seq()
604 let seq_result = (0..1024).partial_cmp(1..1024); in check_partial_cmp_lt_to_seq()
613 let result = a.partial_cmp(b); in check_partial_cmp_gt_direct()
620 let par_result = (1..1024).into_par_iter().partial_cmp(0..1024); in check_partial_cmp_gt_to_seq()
621 let seq_result = (1..1024).partial_cmp(0..1024); in check_partial_cmp_gt_to_seq()
630 let result = a.par_iter().partial_cmp(b.par_iter()); in check_partial_cmp_none_direct()
640 let par_result = a.par_iter().partial_cmp(b.par_iter()); in check_partial_cmp_none_to_seq()
641 let seq_result = a.iter().partial_cmp(b.iter()); in check_partial_cmp_none_to_seq()
651 let result = a.par_iter().partial_cmp(b.par_iter()); in check_partial_cmp_late_nan_direct()
661 let par_result = a.par_iter().partial_cmp(b.par_iter()); in check_partial_cmp_late_nane_to_seq()
662 let seq_result = a.iter().partial_cmp(b.iter()); in check_partial_cmp_late_nane_to_seq()
674 assert_eq!(a.par_iter().partial_cmp(&b), a.iter().partial_cmp(&b)); in check_cmp_lengths()