Working on unit tests for class world

This commit is contained in:
2021-08-03 11:25:12 -04:00
parent 91d7e1c15d
commit 202c5a24ba
13 changed files with 240 additions and 103 deletions

View File

@@ -180,6 +180,8 @@ void TextGame::check_redirects() {
void TextGame::run()
{
world_.reset(new World(util::WORLD_TYPE_STANDALONE));
world_->update_source();
world_->run_unittests();
actor_id_ = world_->create_login_actor();
std::cerr << "Login actor ID: " << actor_id_ << std::endl;
console_.clear();