{% extends 'base.html' %} {% macro build_question_body(hi) %} {{hi}} {% endmacro %} {% block head %}{% endblock %} {% block content %}
{% set count=0 %} {% for qkey, qbody in questions.items() %} {% set outer_loop = loop %} {% for ikey, ibody in qbody.tests.items() %}

{{qbody.title}}

{{ibody.title}} {% if ibody.runable %}Rerun{% endif %}

Terminal Output
Test outcome
{{ibody.wz if ibody.wz else 'Your results will be shown here'}}
Hints
{% if ibody.coverage_files != None and ibody.coverage_files|length > 0 %} This test depends (directly or indirectly) on the following files which contains code you need to write:
    {% for cov in ibody.coverage_files %}
  • {{cov}}
    • {% for m in ibody.coverage_files[cov] %}
    • {{m + " (...)" }}
    • {% endfor %}
    {% endfor %}
{% endif %} {% if ibody.hints|length > 0 %}
{% for h in ibody.hints %}
{% if not h[1] %} Overall hints: {% else %} From the file {{ h[1] }} {% endif %}
    {% for hitem in h[0] %}
  • {{hitem}}
  • {% endfor %}
{% endfor %}
{% endif %} {% if ibody.hints|length == 0 and ibody.coverage_files|length == 0 %} This test does not appear to depend on any files that students have to edit. {% endif %}
{% endfor %} {% endfor %}
Your submission
The following results are based on: no file here. {% for qkey, qbody in questions.items() %} {% if loop.index == 1 %} {% else %} {% endif %} {% for ikey, ibody in qbody.tests.items() %} {% if ibody.runable %} {% endif %} {% endfor %} {% endfor %}
{{qbody.title}} Unittests result .token-file result{{qbody.title}}
{{ibody.title}} Test has not been run Test has not been run
Hand-in instructions:

To hand in your results, you should run the file {{grade_script}}. You can either do this from your IDE, or by running the command:

{{run_cmd_grade}}

from the directory:

{{root_dir}}

This will generate a .token file which contains your answers and which you should upload to DTU learn. The outcome of your current token file can be seen above.

{% endblock %} {% block navigation %} {% endblock %} {% block navigation_footer %}
Rerun all tests
{% endblock %}