16 lines
420 B
C++
16 lines
420 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;
|
||
|
};
|
||
|
}
|
||
|
}
|