Skip to content

Commit cf9d6bc

Browse files
committed
[TDF] Formatting
1 parent 099497a commit cf9d6bc

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
lines changed

tree/treeplayer/inc/ROOT/TTrivialDS.hxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public:
4949

5050
void SetNSlots(unsigned int nSlots)
5151
{
52-
assert(0U == fNSlots && "Setting the number of slots even if the number of slots is different from zero.");
52+
assert(0U == fNSlots && "Setting the number of slots even if the number of slots is different from zero.");
5353

5454
fNSlots = nSlots;
5555
fCounter.resize(fNSlots);

tree/treeplayer/test/dataframe/datasource_trivial.cxx

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -47,33 +47,33 @@ TEST(TTrivialDS, ColumnReaders)
4747
auto slot = 0U;
4848
for (auto &&range : ranges) {
4949
for (auto i : ROOT::TSeq<ULong64_t>(range.first, range.second)) {
50-
tds.SetEntry(i, slot);
51-
auto val = **vals[slot];
52-
EXPECT_EQ(i, val);
50+
tds.SetEntry(i, slot);
51+
auto val = **vals[slot];
52+
EXPECT_EQ(i, val);
5353
}
5454
slot++;
55-
}
55+
}
5656
}
5757

5858
TEST(TTrivialDS, SetNSlotsTwice)
5959
{
60-
auto theTest = []() {
61-
TTrivialDS tds(1);
62-
tds.SetNSlots(1);
63-
tds.SetNSlots(1);
64-
};
65-
ASSERT_DEATH(theTest(), "Setting the number of slots even if the number of slots is different from zero.");
60+
auto theTest = []() {
61+
TTrivialDS tds(1);
62+
tds.SetNSlots(1);
63+
tds.SetNSlots(1);
64+
};
65+
ASSERT_DEATH(theTest(), "Setting the number of slots even if the number of slots is different from zero.");
6666
}
6767

6868
TEST(TTrivialDS, FromATDF)
6969
{
70-
std::unique_ptr<TDataSource> tds(new TTrivialDS(32));
71-
TDataFrame tdf(std::move(tds));
72-
auto max = tdf.Max<ULong64_t>("col0");
73-
auto min = tdf.Min<ULong64_t>("col0");
74-
auto c = tdf.Count();
70+
std::unique_ptr<TDataSource> tds(new TTrivialDS(32));
71+
TDataFrame tdf(std::move(tds));
72+
auto max = tdf.Max<ULong64_t>("col0");
73+
auto min = tdf.Min<ULong64_t>("col0");
74+
auto c = tdf.Count();
7575

76-
EXPECT_EQ(32U, *c);
77-
EXPECT_DOUBLE_EQ(31., *max);
78-
EXPECT_DOUBLE_EQ(0., *min);
76+
EXPECT_EQ(32U, *c);
77+
EXPECT_DOUBLE_EQ(31., *max);
78+
EXPECT_DOUBLE_EQ(0., *min);
7979
}

0 commit comments

Comments
 (0)