Skip to content

Commit 036e1b6

Browse files
authored
Fix clippy issues in tests (TheAlgorithms#484)
1 parent 83f9d4a commit 036e1b6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ciphers/kerninghan.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ mod tests {
1616

1717
#[test]
1818
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);
19+
assert_eq!(kerninghan(0b0000_0000_0000_0000_0000_0000_0000_1011), 3);
20+
assert_eq!(kerninghan(0b0000_0000_0000_0000_0000_0000_1000_0000), 1);
21+
assert_eq!(kerninghan(0b1111_1111_1111_1111_1111_1111_1111_1101), 31);
2222
}
2323
}

0 commit comments

Comments
 (0)