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 83f9d4a commit 036e1b6Copy full SHA for 036e1b6
src/ciphers/kerninghan.rs
@@ -16,8 +16,8 @@ mod tests {
16
17
#[test]
18
fn count_set_bits() {
19
- assert_eq!(kerninghan(0b_00000000000000000000000000001011), 3);
20
- assert_eq!(kerninghan(0b_00000000000000000000000010000000), 1);
21
- assert_eq!(kerninghan(0b_11111111111111111111111111111101), 31);
+ assert_eq!(kerninghan(0b0000_0000_0000_0000_0000_0000_0000_1011), 3);
+ assert_eq!(kerninghan(0b0000_0000_0000_0000_0000_0000_1000_0000), 1);
+ assert_eq!(kerninghan(0b1111_1111_1111_1111_1111_1111_1111_1101), 31);
22
}
23
0 commit comments