diff --git a/src/lisp.rs b/src/lisp.rs index 438fbf4..07027d0 100644 --- a/src/lisp.rs +++ b/src/lisp.rs @@ -33,7 +33,7 @@ mod test { #[test] fn test_parsing_lisp() { let lisp = - read_to_string("./test_presentation.lisp").expect("oops"); + read_to_string("./test_slides.lisp").expect("oops"); let lisp_value = crisp::reader::read(&lisp); let test_vec = vec![test_slide(), test_second_slide()]; match lisp_value { diff --git a/test_slides.lisp b/test_slides.lisp new file mode 100644 index 0000000..0f78eb9 --- /dev/null +++ b/test_slides.lisp @@ -0,0 +1,3 @@ +(slide :background (image :source "~/pics/frodo.jpg" :fit fill) + (text "This is frodo" :font-size 70)) +(slide (video :source "~/vids/test/camprules2024.mp4" :fit contain))