MCPcopy Create free account
hub / github.com/cusplibrary/cusplibrary / run

Method run

testing/unittest/testframework.h:235–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233 : UnitTest(base_class_name(unittest::type_name<TestName<int> >()).c_str()) {}
234
235 void run()
236 {
237 std::vector<size_t> sizes = get_test_sizes();
238 for(size_t i = 0; i != sizes.size(); ++i)
239 {
240 // get the first type in the list
241 typedef typename unittest::get_type<TypeList,0>::type first_type;
242
243 unittest::for_each_type<TypeList,TestName,first_type,0> loop;
244
245 // loop over the types
246 loop(sizes[i]);
247 }
248 }
249}; // end VariableUnitTest
250
251template<template <typename> class TestName,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected