From 0404c5d319d0cf85941b20e53a7dab1e9bf71bef Mon Sep 17 00:00:00 2001 From: jwansek <eddie.atten.ea29@gmail.com> Date: Wed, 19 Jan 2022 17:05:53 +0000 Subject: added testing and generating testing reports --- ExampleAssessments/CMP-4009B.yml | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) (limited to 'ExampleAssessments/CMP-4009B.yml') diff --git a/ExampleAssessments/CMP-4009B.yml b/ExampleAssessments/CMP-4009B.yml index 571c97f..fbadc90 100644 --- a/ExampleAssessments/CMP-4009B.yml +++ b/ExampleAssessments/CMP-4009B.yml @@ -1,3 +1,4 @@ +assessment_name: CMP-4009B files: - pjtool.py: classes: @@ -11,18 +12,15 @@ files: - numMonths(2) tests: - | - d1 = Date(2001, 8, 12) - d2 = Date(2001, 8, 12) - return d1 == d2 + d1 = pjtool.Date(2001, 8, 12) + d2 = pjtool.Date(2001, 8, 12) + assert d1 == d2 + - | + d1 = pjtool.Date(2001, 8, 12) + d2 = pjtool.Date(1999, 4, 5) + assert d1 != d2 - tester.py: functions: - dateTester(2) - printIfExecuted: False - - turbine.py: - classes: - - Turbine: - attributes: - - rating:int - - aNonExistantModule.py: - functions: - - aNonExistantFunction(1) \ No newline at end of file +dependencies: + - matplotlib \ No newline at end of file -- cgit v1.2.3