MCPcopy Create free account
hub / github.com/OpenArkStudio/ARK / print_vec

Function print_vec

test/test_random.cpp:28–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26
27template<typename TOS, typename TVEC>
28void print_vec(TOS& os, const std::vector<TVEC>& vec)
29{
30 os << "[ ";
31 for (size_t i = 0; i < vec.size(); ++i)
32 {
33 if (i > 0)
34 {
35 os << ", ";
36 }
37
38 os << vec[i];
39 }
40
41 os << " ]" << std::endl;
42}
43
44TEST_CASE("xoroshiro128_starstar", "[xoroshiro128_starstar]")
45{

Callers 1

test_random.cppFile · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected