notcurses/tests/main.cpp
2019-11-17 05:04:41 -05:00

13 lines
300 B
C++

#include <clocale>
#include <iostream>
#include "main.h"
int main(int argc, char **argv){
if(!setlocale(LC_ALL, "")){
std::cerr << "Coudln't set locale based on user preferences!" << std::endl;
return EXIT_FAILURE;
}
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}