mirror of
https://github.com/electronicarts/CNC_TS_and_RA2_Mission_Editor.git
synced 2025-04-30 09:01:41 -04:00
17 lines
No EOL
389 B
C++
17 lines
No EOL
389 B
C++
#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);
|
|
|
|
for (auto idx = 0; idx < 702; ++idx) {
|
|
cout << "Waypoint " << idx << ": " << WaypointToString(idx) << endl;
|
|
}
|
|
|
|
} |