Documentation

Assertions

ASSERT_EQ(statement, value) << "failure details";

Failed assertions will print the source file and line number, the statement, what it was expected to evaluate to, what it actually evaluated to, and an optional details message.

If a failing check has already occurred, the test can be unconditionally failed.

FAIL();