first commit

This commit is contained in:
2025-02-04 19:11:03 +01:00
commit cfeea10634
43 changed files with 2448 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
// #include <sp/protocol/packet/PacketFactory.h>
// #include <sp/misc/Test.h>
// static int Test() {
// for (std::size_t i = 0; i < static_cast<int>(td::protocol::PacketType::PACKET_COUNT); i++) {
// td::protocol::PacketType packetType = sp::protocol::PacketType(i);
// if (td::protocol::PacketFactory::CreateReadOnlyPacket(packetType)->GetType() != packetType)
// return SP_TEST_FAILED;
// }
// return SP_TEST_SUCCESSFUL;
// }
// int main() {
// return Test();
// }