1
0
mirror of https://github.com/gsi-upm/sitc synced 2024-11-24 15:32:29 +00:00

Added explanation for tests

This commit is contained in:
Carlos A. Iglesias 2019-02-13 19:41:41 +01:00
parent 79aa057926
commit 33d79e27b1

View File

@ -280,7 +280,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": 2,
"metadata": { "metadata": {
"deletable": false, "deletable": false,
"editable": false, "editable": false,
@ -293,7 +293,17 @@
"solution": false "solution": false
} }
}, },
"outputs": [], "outputs": [
{
"data": {
"application/javascript": [
"IPython.CodeCell.options_default.highlight_modes['magic_turtle'] = {'reg':[/^%%ttl/]};"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [ "source": [
"from helpers import *\n", "from helpers import *\n",
"from rdflib import term, RDF, Namespace" "from rdflib import term, RDF, Namespace"
@ -320,28 +330,7 @@
"# YOUR ANSWER HERE\n", "# YOUR ANSWER HERE\n",
"```\n", "```\n",
"\n", "\n",
"Execute the following line. It simple fills 'example' with the code written below. It should produce the output 'File loaded!\"." "Execute the following line without any modification. It simple fills 'example' with the code written below. It should produce the output 'File loaded!\"."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"deletable": false,
"nbgrader": {
"checksum": "69182e8fadb9c9751f76786e0fcb8803",
"grade": false,
"grade_id": "cell-808cfcbf3891f39f",
"locked": false,
"schema_version": 1,
"solution": true
}
},
"outputs": [],
"source": [
"%%ttl example\n",
"\n",
"# YOUR ANSWER HERE"
] ]
}, },
{ {
@ -362,6 +351,48 @@
"Now run the tests:" "Now run the tests:"
] ]
}, },
{
"cell_type": "code",
"execution_count": 3,
"metadata": {
"deletable": false,
"nbgrader": {
"checksum": "69182e8fadb9c9751f76786e0fcb8803",
"grade": false,
"grade_id": "cell-808cfcbf3891f39f",
"locked": false,
"schema_version": 1,
"solution": true
}
},
"outputs": [
{
"data": {
"text/markdown": [
"File loaded!"
],
"text/plain": [
"<IPython.core.display.Markdown object>"
]
},
"execution_count": 3,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"%%ttl example\n",
"\n",
"# YOUR ANSWER HERE"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Now run the tests executing the following cell. You will see they fail (as expected)."
]
},
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": null,