1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-22 22:13:35 +02:00
vcmi/test/map/MapComparer.h
2018-03-05 21:26:00 +03:00

35 lines
652 B
C++

/*
* MapComparer.h, part of VCMI engine
*
* Authors: listed in file AUTHORS in main folder
*
* License: GNU General Public License v2.0 or later
* Full text of license available in license.txt file, in main folder
*
*/
#pragma once
class CMap;
class CGObjectInstance;
struct MapComparer
{
const CMap * actual;
const CMap * expected;
void compareHeader();
void compareOptions();
void compareObject(const CGObjectInstance * actual, const CGObjectInstance * expected);
void compareObjects();
void compareTerrain();
void compare();
void operator() (const std::unique_ptr<CMap>& actual, const std::unique_ptr<CMap>& expected);
};