Lines Matching refs:assert_eq
965 assert_eq!(mem::align_of::<Aligned64kAllocation>(), _64K); in test_trailing_field_offset()
971 assert_eq!(test!(@offset $($ts),* ; $trailing_field_ty), $expect); in test_trailing_field_offset()
1077 assert_eq!(align_of!([elain::Align<1>]), Some(1)); in test_align_of_dst()
1078 assert_eq!(align_of!([elain::Align<2>]), Some(2)); in test_align_of_dst()
1079 assert_eq!(align_of!([elain::Align<4>]), Some(4)); in test_align_of_dst()
1080 assert_eq!(align_of!([elain::Align<8>]), Some(8)); in test_align_of_dst()
1081 assert_eq!(align_of!([elain::Align<16>]), Some(16)); in test_align_of_dst()
1082 assert_eq!(align_of!([elain::Align<32>]), Some(32)); in test_align_of_dst()
1083 assert_eq!(align_of!([elain::Align<64>]), Some(64)); in test_align_of_dst()
1084 assert_eq!(align_of!([elain::Align<128>]), Some(128)); in test_align_of_dst()
1085 assert_eq!(align_of!([elain::Align<256>]), Some(256)); in test_align_of_dst()
1086 assert_eq!(align_of!([elain::Align<512>]), Some(512)); in test_align_of_dst()
1087 assert_eq!(align_of!([elain::Align<1024>]), Some(1024)); in test_align_of_dst()
1088 assert_eq!(align_of!([elain::Align<2048>]), Some(2048)); in test_align_of_dst()
1089 assert_eq!(align_of!([elain::Align<4096>]), Some(4096)); in test_align_of_dst()
1090 assert_eq!(align_of!([elain::Align<8192>]), Some(8192)); in test_align_of_dst()
1091 assert_eq!(align_of!([elain::Align<16384>]), Some(16384)); in test_align_of_dst()
1092 assert_eq!(align_of!([elain::Align<32768>]), Some(32768)); in test_align_of_dst()
1093 assert_eq!(align_of!([elain::Align<65536>]), Some(65536)); in test_align_of_dst()
1127 assert_eq!(x, u8::MAX); in test_enum_casts()
1131 assert_eq!(x, 0); in test_enum_casts()
1135 assert_eq!(x, 128); in test_enum_casts()
1139 assert_eq!(x, 127); in test_enum_casts()
1151 …assert_eq!(struct_padding!(Test, None::<NonZeroUsize>, None::<NonZeroUsize>, [$($ts),*]), $expect); in test_struct_padding()
1182 …assert_eq!(repr_c_struct_has_padding!(Test, None::<NonZeroUsize>, None::<NonZeroUsize>, [$($ts),*]… in test_repr_c_struct_padding()
1218 … assert_eq!(union_padding!(Test, None::<NonZeroUsize>, None::<usize>, [$($ts),*]), $expect); in test_union_padding()
1256 assert_eq!( in test_enum_padding()