17 lines
492 B
C++
17 lines
492 B
C++
// #include <sp/protocol/command/CommandFactory.h>
|
|
|
|
// #include <sp/misc/Test.h>
|
|
|
|
// static int Test() {
|
|
// for (std::size_t i = 0; i < static_cast<int>(td::protocol::CommandType::COMMAND_COUNT); i++) {
|
|
// td::protocol::CommandType commandType = sp::protocol::CommandType(i);
|
|
|
|
// if (td::protocol::CommandFactory::CreateReadOnlyCommand(commandType)->GetType() != commandType)
|
|
// return SP_TEST_FAILED;
|
|
// }
|
|
// return SP_TEST_SUCCESSFUL;
|
|
// }
|
|
|
|
// int main() {
|
|
// return Test();
|
|
// }
|