12 #include <gtest/gtest.h>
13 #include "../../include/ecl/time/cpuwatch.hpp"
21 #if defined(ECL_IS_POSIX)
23 #if defined(_POSIX_MONOTONIC_CLOCK) && (_POSIX_MONOTONIC_CLOCK) >= 0L && defined(_POSIX_CLOCK_SELECTION) && (_POSIX_CLOCK_SELECTION) >= 0L
36 TEST(StopwatchTests,silent) {
41 time = stopwatch.split();
42 time = stopwatch.split();
43 time = stopwatch.elapsed();
56 int main(
int argc,
char **argv) {
58 testing::InitGoogleTest(&argc,argv);
59 return RUN_ALL_TESTS();