We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e264ec commit 0d14027Copy full SHA for 0d14027
src/crc.rs
@@ -110,7 +110,7 @@ fn test_crc32() {
110
println!("");
111
println!("CRC of \"==!\" calculated as 0x{:08x} (expected 0x9f858776)", vorbis_crc32(&[61,61,33]));
112
println!("Test page CRC calculated as 0x{:08x} (expected 0x3d4e946d)", vorbis_crc32(test_arr));
113
- assert!(vorbis_crc32(&[61,61,33]) == 0x9f858776);
114
- assert!(vorbis_crc32(test_arr) == 0x3d4e946d);
115
- assert!(vorbis_crc32(&test_arr[0 .. 27]) == 0x7b374db8);
+ assert_eq!(vorbis_crc32(&[61,61,33]), 0x9f858776);
+ assert_eq!(vorbis_crc32(test_arr), 0x3d4e946d);
+ assert_eq!(vorbis_crc32(&test_arr[0 .. 27]), 0x7b374db8);
116
}
0 commit comments