From 06c41d21721959af8a8344c9276ece3efd33f4a6 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Tue, 3 Feb 2026 09:23:11 -0600 Subject: [PATCH] adding cargo-nextest --- TODO.org | 1 + flake.nix | 1 + src/core/songs.rs | 11 +++++++++++ 3 files changed, 13 insertions(+) diff --git a/TODO.org b/TODO.org index 9e938dc..c227af9 100644 --- a/TODO.org +++ b/TODO.org @@ -19,6 +19,7 @@ There is likely some work that still needs to be done here, I believe I am someh This will be based on each slide having the ability to activate an action (i.e. OBS scene switch, OBS start or stop) when it is active. This is working but the right click context menu is all the way on the edge of the ui so you can't control all the slides. It also needs a lot of help in making the system more robust and potentially lest reliant on the Presenter struct itself. + * TODO [#B] Develop ui for settings * TODO [#B] Develop library system for slides that are more than images or video i.e. content diff --git a/flake.nix b/flake.nix index ebcd5e0..0c69358 100644 --- a/flake.nix +++ b/flake.nix @@ -30,6 +30,7 @@ "rustc" "rustfmt" ]) + cargo-nextest rust-analyzer vulkan-loader wayland diff --git a/src/core/songs.rs b/src/core/songs.rs index a31db61..0ae2791 100644 --- a/src/core/songs.rs +++ b/src/core/songs.rs @@ -1141,6 +1141,17 @@ You saved my soul" } } + #[test] + fn test_song_slide_speed() { + let song = test_song(); + let slides = song.to_slides(); + if let Ok(slides) = slides { + assert!(true, "{:?}", slides); + } else { + assert!(false, "Slides failed"); + } + } + #[tokio::test] async fn test_song_from_db() { let song = test_song();