return SQUARE_DISAMBIGUATION;
}
- // A disambiguation occurs if we have more then one piece of type 'pt'
+ // A disambiguation occurs if we have more than one piece of type 'pt'
// that can reach 'to' with a legal move.
Bitboard b = pos.pieces(us, pt) ^ from;
Bitboard others = 0;
// Report invalid options
if (DoCheck)
{
- const std::set<std::string>& parsedKeys = config.get_comsumed_keys();
+ const std::set<std::string>& parsedKeys = config.get_consumed_keys();
for (const auto& it : config)
if (parsedKeys.find(it.first) == parsedKeys.end())
std::cerr << "Invalid option: " << it.first << std::endl;
consumedKeys.insert(s);
return std::map<std::string, std::string>::find(s);
}
- const std::set<std::string>& get_comsumed_keys() {
+ const std::set<std::string>& get_consumed_keys() {
return consumedKeys;
}
private:
});
describe('ffish.setOptionInt(name, value)', function () {
- it("it sets a int uci option value pair", () => {
+ it("it sets an int uci option value pair", () => {
ffish.setOptionInt("Threads", 4);
chai.expect(true).to.equal(true);
});