diff tests/test_sceneheadings.yaml @ 2:59fe8cb6190d

Add lots of tests, fix lots of bugs.
author Ludovic Chabant <ludovic@chabant.com>
date Tue, 03 Jan 2017 09:05:28 -0800
parents
children 94d094a0bdb7
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/test_sceneheadings.yaml	Tue Jan 03 09:05:28 2017 -0800
@@ -0,0 +1,36 @@
+---
+in: |
+    EXT. ANOTHER PLACE
+
+    This is an action I think.
+out:
+    - ".EXT. ANOTHER PLACE"
+    - "!\nThis is an action I think."
+---
+in: |
+    An action.
+
+
+    EXT. ANOTHER PLACE
+
+    This is an action I think.
+out:
+    - "!An action.\n"
+    - ".EXT. ANOTHER PLACE"
+    - "!\nThis is an action I think."
+---
+in: |
+    title: Something for Testing
+    author: Moi
+
+
+    EXT. ANOTHER PLACE
+
+    This is an action I think.
+title:
+    title: Something for Testing
+    author: Moi
+out:
+    - "!"
+    - ".EXT. ANOTHER PLACE"
+    - "!\nThis is an action I think."