MCPcopy Create free account
hub / github.com/axmolengine/axmol / toString

Function toString

tests/unit-tests/Source/TestUtils.cpp:9–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7
8
9doctest::String toString(const Vec2& value) {
10 std::string s;
11 s.append("(");
12 s.append(std::to_string(value.u));
13 s.append(", ");
14 s.append(std::to_string(value.v));
15 s.append(")");
16 return s.c_str();
17}
18
19doctest::String toString(const Vec3& value) {
20 std::string s;

Callers 1

MapTests.cppFile · 0.50

Calls 3

to_stringFunction · 0.50
appendMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected