Endgame-Analyzer/src/test.cpp
2023-11-16 16:20:04 +01:00

18 lines
388 B
C++

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