diff options
author | jwansek <eddie.atten.ea29@gmail.com> | 2022-01-19 17:05:53 +0000 |
---|---|---|
committer | jwansek <eddie.atten.ea29@gmail.com> | 2022-01-19 17:05:53 +0000 |
commit | 0404c5d319d0cf85941b20e53a7dab1e9bf71bef (patch) | |
tree | 7ca3384756c34826f41c7624064b952a98023f83 /ExampleAssessments/CMP-4009B.yml | |
parent | eb5b1d2889aa5e408309f5d89989768ff19bc7f4 (diff) | |
download | Smarker-0404c5d319d0cf85941b20e53a7dab1e9bf71bef.tar.gz Smarker-0404c5d319d0cf85941b20e53a7dab1e9bf71bef.zip |
added testing and generating testing reports
Diffstat (limited to 'ExampleAssessments/CMP-4009B.yml')
-rw-r--r-- | ExampleAssessments/CMP-4009B.yml | 22 |
1 files changed, 10 insertions, 12 deletions
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 |