diff options
Diffstat (limited to 'testapp/exam/evaluate_c.py')
-rw-r--r-- | testapp/exam/evaluate_c.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testapp/exam/evaluate_c.py b/testapp/exam/evaluate_c.py index 93c3725..bbe0e87 100644 --- a/testapp/exam/evaluate_c.py +++ b/testapp/exam/evaluate_c.py @@ -8,6 +8,8 @@ import importlib # local imports from code_server import TestCode +from registry import registry + class EvaluateC(TestCode): """Tests the C code obtained from Code Server""" @@ -126,3 +128,5 @@ class EvaluateC(TestCode): if ord(c) is not 26 and ord(c) is not 0: stripped = stripped + c return ''.join(stripped) + +registry.register('c', evaluate_c, EvaluateC)
\ No newline at end of file |