yaze 0.2.0
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze_test.cc
Go to the documentation of this file.
1#define SDL_MAIN_HANDLED
2
3#include "yaze.h"
4
5#include <gtest/gtest.h>
6
7#include "absl/debugging/failure_signal_handler.h"
8#include "absl/debugging/symbolize.h"
10
11namespace yaze {
12namespace test {
13
14} // namespace test
15} // namespace yaze
16
17int main(int argc, char* argv[]) {
18 absl::InitializeSymbolizer(argv[0]);
19
20 absl::FailureSignalHandlerOptions options;
21 absl::InstallFailureSignalHandler(options);
22
23 if (argc > 1 && std::string(argv[1]) == "integration") {
25 } else if (argc > 1 && std::string(argv[1]) == "room_object") {
26 ::testing::InitGoogleTest(&argc, argv);
27 if (!RUN_ALL_TESTS()) {
29 }
30 }
31
32 ::testing::InitGoogleTest(&argc, argv);
33 return RUN_ALL_TESTS();
34}
Definition common.cc:22
int main(int argc, char *argv[])
Definition yaze_test.cc:17