Sign in
android
/
toolchain
/
rustc
/
5139364148b53d79de1b5e778004d41a6a33a4a2
/
.
/
vendor
/
gix-features-0.35.0
/
tests
/
hash.rs
blob: c8e48da57e3e6e686db2574d05d542b4f34bffe1 [
file
] [
log
] [
blame
]
use
gix_features
::
hash
::
Sha1
;
#[
cfg
(
not
(
feature
=
"fast-sha1"
))]
#[
test
]
fn
size_of_sha1
()
{
assert_eq
!(
std
::
mem
::
size_of
::<
Sha1
>(),
96
)
}
#[
cfg
(
feature
=
"fast-sha1"
)]
#[
test
]
fn
size_of_sha1
()
{
assert_eq
!(
std
::
mem
::
size_of
::<
Sha1
>(),
104
)
}