diff --git a/crates/komorebi-core/tests/monitor_workspaces.rs b/crates/komorebi-core/tests/monitor_workspaces.rs
new file mode 100644
index 00000000..a0aeff57
--- /dev/null
+++ b/crates/komorebi-core/tests/monitor_workspaces.rs
@@ -0,0 +1,327 @@
+//! Characterization of `Monitor
`: the ring of workspaces, how it grows and shrinks, which
+//! workspace has the focus, and the name a new workspace takes from what the platform knew.
+
+mod common;
+
+use common::*;
+use komorebi_core::Monitor;
+use komorebi_core::Workspace;
+use komorebi_layouts::DefaultLayout;
+use komorebi_layouts::Layout;
+
+fn monitor(workspaces: usize) -> Monitor {
+ let mut monitor: Monitor = serde_json::from_value(serde_json::json!({
+ "id": 7,
+ "device": "Virtual-0",
+ "size": { "left": 0, "top": 0, "right": 1920, "bottom": 1080 },
+ "work_area_size": { "left": 0, "top": 0, "right": 1920, "bottom": 1040 },
+ "work_area_offset": null,
+ "window_based_work_area_offset": null,
+ "window_based_work_area_offset_limit": 1,
+ "workspaces": { "elements": [], "focused": 0 },
+ "container_padding": null,
+ "workspace_padding": null,
+ "wallpaper": null,
+ "floating_layer_behaviour": null
+ }))
+ .unwrap();
+ monitor.ensure_workspace_count(workspaces);
+ monitor
+}
+
+fn named(monitor: &mut Monitor, names: &[&str]) {
+ for (workspace, name) in monitor.workspaces_mut().iter_mut().zip(names) {
+ workspace.name = Some(name.to_string());
+ }
+}
+
+fn names(monitor: &Monitor) -> Vec