From 76ffe9b90bfc1d33a8886d90c61cafa2521c1cee Mon Sep 17 00:00:00 2001 From: "github-classroom[bot]" <66690702+github-classroom[bot]@users.noreply.github.com> Date: Sun, 25 Feb 2024 16:50:34 +0000 Subject: [PATCH] GitHub Classroom Autograding --- .github/classroom/autograding.json | 84 ++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 .github/classroom/autograding.json diff --git a/.github/classroom/autograding.json b/.github/classroom/autograding.json new file mode 100644 index 0000000..caccdc0 --- /dev/null +++ b/.github/classroom/autograding.json @@ -0,0 +1,84 @@ +{ + "tests": [ + { + "name": "Indent", + "setup": "", + "run": ".scripts/dr.sh .scripts/check_indentation.sh", + "input": "", + "output": "", + "comparison": "included", + "timeout": 10, + "points": 1 + }, + { + "name": "Build", + "setup": "", + "run": ".scripts/dr.sh \"mkdir build; cd build; cmake -GNinja ..; ninja\"", + "input": "", + "output": "", + "comparison": "included", + "timeout": 10, + "points": 5 + }, + { + "name": "Step1 - Mark1", + "setup": "", + "run": ".scripts/dr.sh \"cd build; ./gtest --gtest_filter=Step1.Mark1\"", + "input": "", + "output": "", + "comparison": "included", + "timeout": 10, + "points": 2 + }, + { + "name": "Step1 - Mark2", + "setup": "", + "run": ".scripts/dr.sh \"cd build; ./gtest --gtest_filter=Step1.Mark2\"", + "input": "", + "output": "", + "comparison": "included", + "timeout": 10, + "points": 2 + }, + { + "name": "Step1 - Mark3", + "setup": "", + "run": ".scripts/dr.sh \"cd build; ./gtest --gtest_filter=Step1.Mark3\"", + "input": "", + "output": "", + "comparison": "included", + "timeout": 10, + "points": 2 + }, + { + "name": "Step1 - Mark4", + "setup": "", + "run": ".scripts/dr.sh \"cd build; ./gtest --gtest_filter=Step1.Mark4\"", + "input": "", + "output": "", + "comparison": "included", + "timeout": 10, + "points": 2 + }, + { + "name": "Step1 - Mark5", + "setup": "", + "run": ".scripts/dr.sh \"cd build; ./gtest --gtest_filter=Step1.Mark5\"", + "input": "", + "output": "", + "comparison": "included", + "timeout": 10, + "points": 2 + }, + { + "name": "Step1 - Mark6", + "setup": "", + "run": ".scripts/dr.sh \"cd build; ./gtest --gtest_filter=Step1.Mark6\"", + "input": "", + "output": "", + "comparison": "included", + "timeout": 10, + "points": 2 + } + ] +} \ No newline at end of file