1 #include <framework/dataobjects/BinnedEventT0.h>
2 #include <gtest/gtest.h>
13 ASSERT_FALSE(t0.hasBinnedEventT0(Const::SVD));
14 ASSERT_EQ(t0.getBinnedEventT0(Const::SVD), 0);
16 t0.addBinnedEventT0(-10, Const::SVD);
17 ASSERT_TRUE(t0.hasBinnedEventT0(Const::SVD));
18 ASSERT_FALSE(t0.hasBinnedEventT0(Const::CDC));
19 ASSERT_EQ(t0.getBinnedEventT0(Const::SVD), -10);
20 ASSERT_EQ(t0.getBinnedEventT0(Const::CDC), 0);
23 ASSERT_FALSE(t0.hasBinnedEventT0(Const::SVD));
24 ASSERT_EQ(t0.getBinnedEventT0(Const::SVD), 0);