Use short labels for team members

This commit is contained in:
liu weikai
2026-06-12 15:27:54 +08:00
parent fc10b53a56
commit a98111dfef
13 changed files with 74 additions and 131 deletions
@@ -66,9 +66,10 @@ int main()
const std::size_t count = source.latestTeamPoints(points, 4);
assert(count == 2);
assert(points[0].node_id == 0xCAFE);
assert(std::strcmp(points[0].label, "Ada") == 0);
assert(std::strcmp(points[0].label, "CAFE") == 0);
assert(points[0].valid);
assert(points[1].node_id == 0xBEEF);
assert(points[1].label == nullptr);
assert(!points[1].valid);
ui::presentation_sources::TeamMapLocation locations[4]{};