$ g++ -o app first.cpp -lgtest -lpthread -std=c++14 $ ./app [==========] Running 1 test from 1 test suite. [----------] Global test environment set-up. [----------] 1 test from FooTest [ RUN ] FooTest.HandleNoneZeroInput [ OK ] FooTest.HandleNoneZeroInput (0 ms) [----------] 1 test from FooTest (0 ms total)
[----------] Global test environment tear-down [==========] 1 test from 1 test suite ran. (0 ms total) [ PASSED ] 1 test.
[==========] Running 1 test from 1 test suite. [----------] Global test environment set-up. [----------] 1 test from FooTest [ RUN ] FooTest.HandleNoneZeroInput [ OK ] FooTest.HandleNoneZeroInput (0 ms) [----------] 1 test from FooTest (0 ms total)
[==========] 1 test from 1 test suite ran. (0 ms total) [ PASSED ] 1 test.
Repeating all tests (iteration 2) . . .
[==========] Running 1 test from 1 test suite. [----------] 1 test from FooTest [ RUN ] FooTest.HandleNoneZeroInput [ OK ] FooTest.HandleNoneZeroInput (0 ms) [----------] 1 test from FooTest (0 ms total)
[==========] 1 test from 1 test suite ran. (0 ms total) [ PASSED ] 1 test.
Repeating all tests (iteration 3) . . .
[==========] Running 1 test from 1 test suite. [----------] 1 test from FooTest [ RUN ] FooTest.HandleNoneZeroInput [ OK ] FooTest.HandleNoneZeroInput (0 ms) [----------] 1 test from FooTest (0 ms total)
[----------] Global test environment tear-down [==========] 1 test from 1 test suite ran. (0 ms total) [ PASSED ] 1 test.