Lines Matching refs:assert_eq
977 assert_eq!(l_sum, i as u8); in test_split_at()
978 assert_eq!(r_sum, (n - i) as u8); in test_split_at()
979 assert_eq!(l_sum + r_sum, n as u8); in test_split_at()
990 assert_eq!(l_sum, i as u8); in test_split_at()
991 assert_eq!(r_sum, (n - i) as u8); in test_split_at()
992 assert_eq!(l_sum + r_sum, n as u8); in test_split_at()
1037 assert_eq!(l, &[1, 2]); in test_split_at_unchecked()
1038 assert_eq!(r, &[3, 4]); in test_split_at_unchecked()
1045 assert_eq!(l, &mut [1, 2]); in test_split_at_unchecked()
1046 assert_eq!(r, &mut [3, 4]); in test_split_at_unchecked()
1064 assert_eq!(l.length, 1); in test_split_at_via_methods()
1065 assert_eq!(r, &[4]); in test_split_at_via_methods()
1069 assert_eq!(l.length, 1); in test_split_at_via_methods()
1070 assert_eq!(r, &[4]); in test_split_at_via_methods()
1087 assert_eq!(l.length, 1); in test_split_at_via_unaligned()
1088 assert_eq!(r, &[4]); in test_split_at_via_unaligned()