Statistics
| Revision:

root / trunk / tests / colfill / gtest.cpp @ 1025

History | View | Annotate | Download (382 Bytes)

1
#include <gtest/gtest.h>
2

    
3
class test_colfill: public ::testing::Test {};
4

    
5
#ifndef main
6
  #define main mymain
7
#endif
8
#include "colfill.cpp"
9
#undef main
10

    
11
TEST_F(test_colfill, run)
12
{
13
  int argc = 2;
14
  char* argv[] = { (char*)"colfill", (char*)"-nohess" };
15
  mymain(argc, argv);
16
}
17

    
18
int main(int argc, char** argv)
19
{
20
  ::testing::InitGoogleTest(&argc, argv);
21
  return RUN_ALL_TESTS();
22
}