Lines Matching refs:assert_eq

1277         assert_eq!(x, array_of_arrays);  in test_transmute()
1279 assert_eq!(x, array_of_u8s); in test_transmute()
1283 assert_eq!(x, [[0u8, 1], [2, 3], [4, 5]]); in test_transmute()
1304 assert_eq!(X, ARRAY_OF_ARRAYS); in test_transmute()
1306 assert_eq!(X_SHRINK, [[0u8, 1], [2, 3], [4, 5]]); in test_transmute()
1310 assert_eq!(x, 1); in test_transmute()
1312 assert_eq!(x.into_inner(), 1); in test_transmute()
1314 assert_eq!(x.into_inner(), 1); in test_transmute()
1335 assert_eq!(*x, array_of_arrays); in test_transmute_ref()
1337 assert_eq!(*x, array_of_u8s); in test_transmute_ref()
1344 assert_eq!(*X, ARRAY_OF_ARRAYS); in test_transmute_ref()
1351 assert_eq!(x, slice_of_arrays); in test_transmute_ref()
1362 assert_eq!(*X_NKL, ARRAY_OF_NKL_ARRAYS); in test_transmute_ref()
1382 assert_eq!(*X_NKL, ARRAY_OF_NKL_ARRAYS); in test_transmute_ref()
1392 assert_eq!(x, slice_dst_of_u16s); in test_transmute_ref()
1397 assert_eq!(x, [0, 1, 2, 3, 4, 5]); in test_transmute_ref()
1400 assert_eq!(x, [0, 1, 2, 3, 4, 5]); in test_transmute_ref()
1404 assert_eq!(x, slice_of_u16s); in test_transmute_ref()
1412 assert_eq!(x, slice_dst_small); in test_transmute_ref()
1417 assert_eq!(*x, ARRAY_OF_U8S); in test_transmute_ref()
1423 assert_eq!(*x, array); in test_transmute_ref()
1429 assert_eq!(*y, 0); in test_transmute_ref()
1438 assert_eq!(x, Ok(array_of_arrays)); in test_try_transmute()
1440 assert_eq!(x, Ok(array_of_bools)); in test_try_transmute()
1444 assert_eq!(x.unwrap(), 1); in test_try_transmute()
1446 assert_eq!(x.unwrap().into_inner(), 1); in test_try_transmute()
1448 assert_eq!(x.unwrap().into_inner(), 1); in test_try_transmute()
1463 assert_eq!(x, Ok(1)); in test_try_transmute()
1472 assert_eq!(y.as_ref().map_err(|p| &p.src.0), Err::<&bool, _>(&2u8)); in test_try_transmute()
1482 assert_eq!(x, Ok(array_of_arrays)); in test_try_transmute_ref()
1484 assert_eq!(x, Ok(array_of_bools)); in test_try_transmute_ref()
1490 assert_eq!(x, Ok(array_of_arrays)); in test_try_transmute_ref()
1497 assert_eq!(x, Ok(&array)); in test_try_transmute_ref()
1503 assert_eq!(y, Ok(&0)); in test_try_transmute_ref()
1509 assert_eq!(x, Ok(&array_of_nkl_arrays)); in test_try_transmute_ref()
1516 assert_eq!(x, Ok(slice_of_arrays)); in test_try_transmute_ref()
1524 assert_eq!(x, Ok(slice_dst_of_u16s)); in test_try_transmute_ref()
1533 assert_eq!(x, Ok(array_of_arrays)); in test_try_transmute_mut()
1538 assert_eq!(x, Ok(array_of_bools)); in test_try_transmute_mut()
1546 assert_eq!(x, Ok(array_of_bools)); in test_try_transmute_mut()
1553 assert_eq!(x, Ok(array)); in test_try_transmute_mut()
1559 assert_eq!(y, Ok(&mut 0)); in test_try_transmute_mut()
1565 assert_eq!(x, Ok(&mut array_of_nkl_arrays)); in test_try_transmute_mut()
1572 assert_eq!(x, Ok(slice_of_arrays)); in test_try_transmute_mut()
1580 assert_eq!(x, Ok(slice_dst_of_u16s)); in test_try_transmute_mut()
1589 assert_eq!(*x, array_of_arrays); in test_transmute_mut()
1591 assert_eq!(*x, array_of_u8s); in test_transmute_mut()
1597 assert_eq!(*x, array_of_u8s); in test_transmute_mut()
1604 assert_eq!(*x, array_of_arrays); in test_transmute_mut()
1606 assert_eq!(*x, array_of_u8s); in test_transmute_mut()
1612 assert_eq!(*x, array); in test_transmute_mut()
1618 assert_eq!(*y, 0); in test_transmute_mut()
1627 assert_eq!(x, slice_dst_of_u16s); in test_transmute_mut()
1634 assert_eq!(x, array_of_i16s); in test_transmute_mut()
1643 assert_eq!(x, slice_dst_small); in test_transmute_mut()
1650 assert_eq!(x, slice_of_arrays); in test_transmute_mut()
1661 assert_eq!(ctr, 1); in test_macros_evaluate_args_once()
1668 assert_eq!(ctr, 1); in test_macros_evaluate_args_once()
1675 assert_eq!(ctr, 1); in test_macros_evaluate_args_once()
1684 assert_eq!(ctr, 1); in test_macros_evaluate_args_once()
1690 assert_eq!(AS_U32, u32::from_ne_bytes([b'a', b'b', b'c', b'd'])); in test_include_value()
1692 assert_eq!(AS_I32, i32::from_ne_bytes([b'a', b'b', b'c', b'd'])); in test_include_value()