Next: mod-idiot, Previous: libliquidwar6, Up: C API

### 5.2 libbot

#### 5.2.1 Overview

View lcov test coverage results on http://www.gnu.org/software/liquidwar6/coverage/src/lib/bot/index.html.

#### 5.2.2 API

— Function: int lw6bot_test (int mode)

> mode: 0 for check only, 1 for full test

> Runs the `bot` module test suite. Will try several engines and query basic moves.

> Return value: 1 if test is successfull, 0 on error.