Moved a slide around, added project directories
authorNeil Smith <neil.git@njae.me.uk>
Fri, 11 Jul 2014 11:34:09 +0000 (12:34 +0100)
committerNeil Smith <neil.git@njae.me.uk>
Fri, 11 Jul 2014 11:34:09 +0000 (12:34 +0100)
cipher.sublime-project
slides/pocket-enigma-encipher.html

index c051f12270b0189dc7e6f88bf37ca35e06c616e0..54c826f131e1d79126f6453af737d67ba62990a0 100644 (file)
@@ -4,6 +4,10 @@
                {
                        "follow_symlinks": true,
                        "path": "slides"
+               },
+               {
+                       "follow_symlinks": true,
+                       "path": "."
                }
        ]
 }
index 05222c570723e615c115fede04be25c715c51fdf..b569911bacd2289c108e6a327ea1bdd9aad42bf0 100644 (file)
@@ -105,24 +105,6 @@ What data should it hold?
 
 ---
 
-# A note on testing
-
-Testing's easier if everything returns a meaningful value
-
-Saves having to look up different values after performing each operation
-
-`__init__` can't return a value (restriction of Python)
-
-```python
-if __name__ == "__main__":
-    import doctest
-    doctest.testmod(extraglobs={'pe': PocketEnigma(1, 'a')})
-```
-
-`pe` is now available in all tests.
-
----
-
 # Data structures
 
 What's a convenient representation of the wheel
@@ -203,6 +185,24 @@ class PocketEnigma(object):
 
 ---
 
+# A note on testing
+
+Testing's easier if everything returns a meaningful value
+
+Saves having to look up different values after performing each operation
+
+`__init__` can't return a value (restriction of Python)
+
+```python
+if __name__ == "__main__":
+    import doctest
+    doctest.testmod(extraglobs={'pe': PocketEnigma(1, 'a')})
+```
+
+`pe` is now available in all tests.
+
+---
+
 # Looking up the enciphered version of a letter
 
 *Not* advancing the wheel before