#include <cassert>
#include <cstring>
-#include <fstream>
#include <iostream>
#include <sstream>
#include <algorithm>
{
Square capQq = to - pawn_push(sideToMove);
- assert(capturedType == NO_PIECE_TYPE);
+ assert(!capturedType);
assert(type_of(piece_on(capQq)) == PAWN);
// Remove the captured pawn