use gix_features::hash::Sha1; #[cfg(not(feature = "fast-sha1"))] #[test] fn size_of_sha1() { assert_eq!(std::mem::size_of::(), 96) } #[cfg(feature = "fast-sha1")] #[test] fn size_of_sha1() { assert_eq!(std::mem::size_of::(), 104) }