()
| 3850 | |
| 3851 | #[test] |
| 3852 | fn sha256_empty() { |
| 3853 | let hash = sz::Sha256::hash(b""); |
| 3854 | let expected = [ |
| 3855 | 0xe3, 0xb0, 0xc4, 0x42, 0x98, 0xfc, 0x1c, 0x14, 0x9a, 0xfb, 0xf4, 0xc8, 0x99, 0x6f, 0xb9, 0x24, 0x27, 0xae, |
| 3856 | 0x41, 0xe4, 0x64, 0x9b, 0x93, 0x4c, 0xa4, 0x95, 0x99, 0x1b, 0x78, 0x52, 0xb8, 0x55, |
| 3857 | ]; |
| 3858 | assert_eq!(hash, expected); |
| 3859 | } |
| 3860 | |
| 3861 | #[test] |
| 3862 | fn sha256_abc() { |
nothing calls this directly
no test coverage detected
searching dependent graphs…