From 7e055c6eaf4291539c77932b29b8db0cc42c5d8c Mon Sep 17 00:00:00 2001
From: jwansek <eddie.atten.ea29@gmail.com>
Date: Thu, 20 Jan 2022 18:51:27 +0000
Subject: started work on templating

---
 ExampleAssessments/example.yml | 75 +++++++++++++++++++++---------------------
 1 file changed, 38 insertions(+), 37 deletions(-)

(limited to 'ExampleAssessments/example.yml')

diff --git a/ExampleAssessments/example.yml b/ExampleAssessments/example.yml
index 17ab9b0..46cab56 100644
--- a/ExampleAssessments/example.yml
+++ b/ExampleAssessments/example.yml
@@ -1,38 +1,39 @@
-files:
-    - example.py:
-        classes:
-            - Application:
-                methods:
-                    - __init__(3)
-                    - a_method_with_defaults(3)
-                    - add(3)
-                    - aMethodThatIsntThere(1)
-        functions:
-            - hello_world(2)
-            - an_undocumented_function(0)
-            - aFunctionThatIsntThere(2)
-            - greet(2)
-        tests:
-            - |
-                dateOne = example.MyDate(day = 12, month = 8, year = 2001)
-                dateTwo = example.MyDate(day = 12, month = 8, year = 2001)
-                assert dateOne == dateTwo
-            - |
-                dateOne = example.MyDate(day = 12, month = 8, year = 2001)
-                dateTwo = example.MyDate(day = 5, month = 4, year = 1999)
-                assert dateOne == dateTwo
-    - aFileThatIsntThere.py:
-        functions:
-            - hello_world(2)
-    - animals.py:
-        classes:
-            - Dog:
-            - Cat:
-            - Kitten:
-        tests:
-            - |
-                nibbles = animals.Kitten()
-                assert nibbles.speak() == "nyaa~~"
-            - |
-                milton = animals.Dog()
+name: CMP-5021B-19-20
+files:
+    - example.py:
+        classes:
+            - Application:
+                methods:
+                    - __init__(3)
+                    - a_method_with_defaults(3)
+                    - add(3)
+                    - aMethodThatIsntThere(1)
+        functions:
+            - hello_world(2)
+            - an_undocumented_function(0)
+            - aFunctionThatIsntThere(2)
+            - greet(2)
+        tests:
+            - |
+                dateOne = example.MyDate(day = 12, month = 8, year = 2001)
+                dateTwo = example.MyDate(day = 12, month = 8, year = 2001)
+                assert dateOne == dateTwo
+            - |
+                dateOne = example.MyDate(day = 12, month = 8, year = 2001)
+                dateTwo = example.MyDate(day = 5, month = 4, year = 1999)
+                assert dateOne == dateTwo
+    - aFileThatIsntThere.py:
+        functions:
+            - hello_world(2)
+    - animals.py:
+        classes:
+            - Dog:
+            - Cat:
+            - Kitten:
+        tests:
+            - |
+                nibbles = animals.Kitten()
+                assert nibbles.speak() == "nyaa~~"
+            - |
+                milton = animals.Dog()
                 assert milton.move() == "*moves*"
\ No newline at end of file
-- 
cgit v1.2.3