8 #include "../src/TLorentzVectorFactory.h"
9 #include "gtest/gtest.h"
11 TEST(TLorentzVectoryTest, positiveEta) {
16 EXPECT_NEAR(
tl.Eta(),
eta, eps);
17 EXPECT_NEAR(
tl.Et(),
et, eps);
20 TEST(TLorentzVectoryTest, negativeEta) {
25 EXPECT_NEAR(
tl.Eta(),
eta, eps);
26 EXPECT_NEAR(
tl.Et(),
et, eps);
30 TEST(TLorentzVectoryTest, vals0) {
35 EXPECT_NEAR(
tl.Eta(),
eta, eps);
36 EXPECT_NEAR(
tl.Et(),
et, eps);
39 TEST(TLorentzVectoryTest, thowsOnBadEt) {