Drake
drake_cc_googletest_main_test.cc File Reference

This is a sample unit test whose purpose is to provide a binary for test/drake_cc_googletest_main_test.py to run, in order to assess the correctness of command-line flag handling. More...

#include <gflags/gflags.h>
#include <gtest/gtest.h>
#include "drake/common/text_logging.h"
Include dependency graph for drake_cc_googletest_main_test.cc:

Namespaces

 drake
 

Functions

 DEFINE_double (magic_number, 0.0,"Magic number")
 

Detailed Description

This is a sample unit test whose purpose is to provide a binary for test/drake_cc_googletest_main_test.py to run, in order to assess the correctness of command-line flag handling.

That python file contains the majority of the meaningful unit test logic.

Function Documentation

DEFINE_double ( magic_number  ,
0.  0,
"Magic number"   
)