123456789101112131415161718192021222324252627 |
- #include <gtest/gtest.h>
- #include "scope.h"
- #include "motor_sim_helper.h"
- // int main(void)
- // {
- // // SysFsmInit();
- // // for (int i = 0; i < 10000; i++)
- // // {
- // // SysFsmRun(SysFsmInMain);
- // // }
- // // SysFsmRun(SysFsmInTbc);
- // // SysFsmRun(SysFsmInTbs);
- // return 0;
- // }
- int main(int argc, char **argv)
- {
- // ::testing::GTEST_FLAG(output) = "xml:unittest.xml";
- ::testing::InitGoogleTest(&argc, argv);
- UdpScope::Init(56789);
- MotorSimHelper::StoreDefaultParam();
- auto res = RUN_ALL_TESTS();
- UdpScope::Deinit();
- return res;
- }
|