refactored serde between waypoint number and 26 radix string . (#122)

This commit is contained in:
Zero Fanker 2024-11-26 22:53:24 -05:00 committed by GitHub
parent cace9efd2a
commit f0f2439be0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 74 additions and 70 deletions

View file

@ -0,0 +1,13 @@
#include "stdafx.h"
#include "Helpers.h"
TEST(WaypointTest, SerdeTest)
{
//"DJ", "CL";
ASSERT_EQ(WaypointToString(113), "DJ");
ASSERT_EQ(StringToWaypoint("DJ"), 113);
ASSERT_EQ(WaypointToString(0), "A");
ASSERT_EQ(StringToWaypoint("A"), 0);
}