[board] Add a negative test for BitBoard::is_empty()
Remove a stray println!
This commit is contained in:
parent
61448d437f
commit
5e47d37aa3
1 changed files with 1 additions and 1 deletions
|
@ -163,6 +163,7 @@ mod tests {
|
|||
#[test]
|
||||
fn is_empty() {
|
||||
assert!(BitBoard(0).is_empty());
|
||||
assert!(!BitBoard(0xFF).is_empty());
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
@ -207,7 +208,6 @@ mod tests {
|
|||
#[test]
|
||||
fn intercardinal_direction_shifts() {
|
||||
let bb = BitBoard(0x1000_0000); // e4
|
||||
println!(" bb: {:?}", bb);
|
||||
|
||||
assert_eq!(
|
||||
bb.shift_north_east_one(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue