void checkTile(const char* name) { string p = (getRenderedDirectory() / string(name)).append(".png").string(); renderLabels(p.c_str()); compareTile(name); }
/** * \brief renders and compares the givent tile with a reference rendering * \param name basename of the file (e.g. 'test' for 'test.png') * \param id the tile to render and compare */ void checkTile(const char* name, shared_ptr<TileIdentifier> id) { string p = (getRenderedDirectory() / string(name)).native() + string(".png"); renderTile(p.c_str(), id); compareTile(name); }