MCPcopy Create free account
hub / github.com/3rdparty/libprocess / toList

Function toList

src/tests/timeseries_tests.cpp:29–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27using process::TimeSeries;
28
29list<int> toList(const TimeSeries<int>& series)
30{
31 list<int> result;
32 foreach (const TimeSeries<int>::Value& value, series.get()) {
33 result.push_back(value.data);
34 }
35 return result;
36}
37
38
39TEST(TimeSeriesTest, Set)

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected