source: branches/AddingGoogleTestEnvironment/run_tests.cc@ 19923

Last change on this file since 19923 was 18015, checked in by smueller, 10 years ago
Google Test, new executeable run_test. From now on gtest is required to build MARS. Makefile was adjusted to build the new run_test executeable and link it with gtest libs. A first test was made for the MMatrix Container. All tests are in a new mtest folder.
File size: 781 bytes
Line 
1#include "./mtest/MMatrixTEST/MMatrixTEST.cc"
2#include "gtest/gtest.h"
3#include <iostream>
4
5int main(int argc, char **argv) {
6 std::cout << " ________________________________________________________ \n";
7 std::cout << "| |\n";
8 std::cout << "| FACT telescope simulation test facility |\n";
9 std::cout << "| |\n";
10 std::cout << "| NASA are not the only badboys |\n";
11 std::cout << "| probing MARS... |\n";
12 std::cout << "|________________________________________________________|\n";
13 std::cout << std::endl;
14 ::testing::InitGoogleTest(&argc, argv);
15 return RUN_ALL_TESTS();
16 //return 1337;
17}
Note: See TracBrowser for help on using the repository browser.