MCPcopy Create free account
hub / github.com/comaps/comaps / UNIT_TEST

Function UNIT_TEST

tools/track_analyzing/track_analyzing_tests/balance_tests.cpp:22–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20A:b6e31294-5c90-4105-9f7b-51a382eabfa0,Poland,highway-primary,psurface-paved_good,50,0,0,0,53.8524 21.3061,1199.34,60,71.9604,0,0,0,0,0,10,0)";
21
22UNIT_TEST(FillTableTestEmpty)
23{
24 std::stringstream ss;
25 std::vector<TableRow> table;
26 MwmToDataPoints matchedDataPoints;
27
28 // Stream without csv header.
29 FillTable(ss, matchedDataPoints, table);
30 TEST(table.empty(), ());
31 TEST(matchedDataPoints.empty(), ());
32
33 // Stream with only csv header.
34 ss << "mwm,number\n";
35 FillTable(ss, matchedDataPoints, table);
36 TEST(table.empty(), ());
37 TEST(matchedDataPoints.empty(), ());
38}
39
40UNIT_TEST(FillTableTest)
41{

Callers

nothing calls this directly

Calls 12

FillTableFunction · 0.85
TESTFunction · 0.85
AreKeysEqualFunction · 0.85
RemoveKeysSmallValueFunction · 0.85
BalancedDataPointNumberFunction · 0.85
FilterTableFunction · 0.85
emptyMethod · 0.45
sizeMethod · 0.45
cbeginMethod · 0.45
cendMethod · 0.45

Tested by

no test coverage detected