IBUD4SUGA4IS6HUQIHVJJOFS4CMTWJMTMXS4LWGFVK4PFUFKE5LAC
test "getQueenAttacks" {
var attack = Attacks.init();
var occupancy = Chess.BitBoard{};
occupancy.setSlice(&[_]Chess.Square{ .d7, .f2, .c3, .f4 });
const got = attack.getQueenAttacks(.d4, @bitCast(Chess.BoardType, occupancy));
var expected = Chess.BitBoard{};
expected.setSlice(&[_]Chess.Square{ .h8, .a7, .d7, .g7, .b6, .d6, .f6, .c5, .d5, .e5, .a4, .b4, .c4, .e4, .f4, .c3, .d3, .e3, .d2, .f2, .d1 });
try std.testing.expectEqual(@bitCast(Chess.BoardType, expected), got);
}