summaryrefslogtreecommitdiff
path: root/lib/tests
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2025-06-05 15:00:34 +0200
committerFelix Morgner <felix.morgner@gmail.com>2025-06-05 15:00:34 +0200
commit8b871a613647f64658bf6c098510cc3a35ba1b48 (patch)
treeff87802a949ae9bbdb5f10ca7da1e4e317d62a3b /lib/tests
parent938328d3c87d5b7f2d56921cc5893f1c2d98302d (diff)
downloadturns-8b871a613647f64658bf6c098510cc3a35ba1b48.tar.xz
turns-8b871a613647f64658bf6c098510cc3a35ba1b48.zip
lib: add round-progress property to TurnOrder
Diffstat (limited to 'lib/tests')
-rw-r--r--lib/tests/turns-turn-order.cpp5
1 files changed, 5 insertions, 0 deletions
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));