コード例 #1
0
ファイル: placement_test.cpp プロジェクト: alex85k/alacarte
	void checkTile(const char* name)
	{
		string p = (getRenderedDirectory() / string(name)).append(".png").string();
		renderLabels(p.c_str());

		compareTile(name);
	}
コード例 #2
0
ファイル: feature_test.cpp プロジェクト: AMDmi3/alacarte
	/**
	 * \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);
	}