B:BD[
2.3346] → [
2.3346:3410]
try std.testing.expectEqual(@as(isize, 57), evaluate(&gs));
{
const fen = "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1";
var gs = try Board.GameState.init(fen);
try std.testing.expectEqual(@as(isize, nnue.nnue_evaluate_fen(fen)), evaluate(&gs));
}
{
const fen = "r3k2r/p1ppqpb1/bn2pnp1/3PN3/1p2P3/2N2Q1p/PPPBBPPP/R3K2R w KQkq -";
var gs = try Board.GameState.init(fen);
try std.testing.expectEqual(@as(isize, nnue.nnue_evaluate_fen(fen)), evaluate(&gs));
}
{
const fen = "8/2p5/3p4/KP5r/1R3p1k/8/4P1P1/8 w - -";
var gs = try Board.GameState.init(fen);
try std.testing.expectEqual(@as(isize, nnue.nnue_evaluate_fen(fen)), evaluate(&gs));
}
{
const fen = "r3k2r/Pppp1ppp/1b3nbN/nP6/BBP1P3/q4N2/Pp1P2PP/R2Q1RK1 w kq - 0 1";
var gs = try Board.GameState.init(fen);
try std.testing.expectEqual(@as(isize, nnue.nnue_evaluate_fen(fen)), evaluate(&gs));
}