Google Test

Overview

Qualified supports Google Test for C++. We recommend using Google Test instead of the Igloo framework.

Google Test is only supported when C++17 with Clang 8 is used.

Basic Example

#include <gtest/gtest.h>

extern int add(int a, int b); // the candidate's solution

namespace {
TEST(Add, HandlesBasicAddition) {
    int expected = 4;
    EXPECT_EQ(add(1, 2), expected) << "optional failure message";
}
}

Learn More

See Google Test documentation.