Endgame-Analyzer/src/test.cpp

19 lines
388 B
C++
Raw Normal View History

#include "download.h"
#include "game_state.h"
2023-11-16 16:20:04 +01:00
void test()
{
{
auto game = Download::get_game("in/1005195", 43);
auto res = game->evaluate_state();
if (!(res == Hanabi::probability_t(7, 8)))
{
2023-11-16 16:20:04 +01:00
std::cerr << "Test " << ("1005195") << " failed." << std::endl;
}
2023-11-16 16:20:04 +01:00
else
{
std::cout << "Test " << ("1005195") << " succeeded." << std::endl;
};
}
}