From 8b871a613647f64658bf6c098510cc3a35ba1b48 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Thu, 5 Jun 2025 15:00:34 +0200 Subject: lib: add round-progress property to TurnOrder --- lib/tests/turns-turn-order.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/tests') diff --git a/lib/tests/turns-turn-order.cpp b/lib/tests/turns-turn-order.cpp index a4576f7..4ff1a83 100644 --- a/lib/tests/turns-turn-order.cpp +++ b/lib/tests/turns-turn-order.cpp @@ -75,6 +75,11 @@ SCENARIO("Creating a turn order", "[lib][object][lifetime]") REQUIRE(g_list_model_get_object(G_LIST_MODEL(instance), 0) == nullptr); } + THEN("its round progress is 0") + { + REQUIRE(turns_turn_order_get_round_progress(instance) == 0); + } + THEN("it's empty") { REQUIRE(turns_turn_order_get_empty(instance)); -- cgit v1.2.3