test/unit_tests/preprocessor_test.cpp
TEST_F(PreprocessorTests, ValuePassedIn) {
  std::set<std::string> defines;
  defines.insert("foo 1");
  bool result =
      fplbase::LoadFileWithDirectives("", &file_, defines, &error_message_);
  EXPECT_TRUE(result);
  EXPECT_EQ(file_, std::string("#define foo 1\n"));
}
// #defines with a value should be passed through.
defines with a value should be passed through.
defines with a value should be passed through .
TEST_F(PreprocessorTests, ValuePassedIn) {
  std::set<std::string> defines;
  defines.insert("foo 1");
  bool result =
      fplbase::LoadFileWithDirectives("", &file_, defines, &error_message_);
  EXPECT_TRUE(result);
  EXPECT_EQ(file_, std::string("#define foo 1\n"));
}
TEST_F ( PreprocessorTests , ValuePassedIn ) { std :: set < std :: string > defines ; defines . insert ( " " ) ; bool result = fplbase :: LoadFileWithDirectives ( " " , & file_ , defines , & error_message_ ) ; EXPECT_TRUE ( result ) ; EXPECT_EQ ( file_ , std :: string ( " \n " ) ) ; }
defines with a value should be passed through.
defines with a value should be passed through .