Skip to content
Snippets Groups Projects
Commit 20c44b91 authored by Danilo Piparo's avatar Danilo Piparo
Browse files

[TDF] Avoid some jitting to save time in unit test

parent c409c25c
No related branches found
No related tags found
No related merge requests found
......@@ -157,9 +157,9 @@ TEST(Cache, CollectionColumns)
.Define("blob", [&i]() { return ++i; });
{
auto c = d.Cache<std::vector<int>, std::list<int>, std::deque<int>>({"vector", "list", "deque"});
auto hv = c.Histo1D("vector");
auto hl = c.Histo1D("list");
auto hd = c.Histo1D("deque");
auto hv = c.Histo1D<std::vector<int>>("vector");
auto hl = c.Histo1D<std::list<int>>("list");
auto hd = c.Histo1D<std::deque<int>>("deque");
EXPECT_EQ(1, hv->GetMean());
EXPECT_EQ(1, hl->GetMean());
EXPECT_EQ(1, hd->GetMean());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment