Skip to content
Snippets Groups Projects
Commit cf7902db authored by Enrico Guiraud's avatar Enrico Guiraud
Browse files

[treereader] Add a bit more test coverage

parent 4f6acb6d
No related branches found
No related tags found
Loading
......@@ -246,7 +246,9 @@ TEST(TTreeReaderLeafs, BranchAndLeafWithDifferentNames)
TTreeReader r(&t);
TTreeReaderValue<int> rv(r, "x");
TTreeReaderValue<int> rvwithdot(r, "x.y");
ASSERT_TRUE(r.Next());
EXPECT_EQ(*rv, 42);
EXPECT_EQ(*rvwithdot, 42);
EXPECT_FALSE(r.Next());
}
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