summaryrefslogtreecommitdiff
path: root/lib/tests/turns-turn-order.cpp
blob: feb0aa1d9c183be25999360e8ede3aed068f5be0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "turns-turn-order.h"

#include <catch2/catch_test_macros.hpp>

SCENARIO("Creating a turn order", "[lib][object][lifetime]")
{
  GIVEN("A turn order constructed using turns_turn_order_new()")
  {
    g_autoptr(TurnsTurnOrder) instance = turns_turn_order_new();

    THEN("it's running state is false")
    {
      REQUIRE_FALSE(turns_turn_order_get_running(instance));
    }
  }
}