➕Advanced C++ autograding
Discover the advanced autograding options available for C++ assignments
➕Create your first C++ assignment


An AutoTest configuration to run Google Test.



Coding Style violations are reported inline within the student's submission file.
Google Test
#include <gtest/gtest.h>
#include <stdexcept>
double add(double a, double b)
{
return a + b;
}
double subtract(double a, double b)
{
return a - b;
}
double multiply(double a, double b)
{
return a * b;
}
double divide(double a, double b)
{
if (b == 0) throw std::runtime_error("Division by zero error");
return a / b;
}AutoTest Setup

AutoTest Tests
Tests Compilation
Tests Execution

Clang-Tidy
AutoTest Setup

AutoTest Tests


Conclusion
Last updated