Skip to content

Commit

Permalink
some basic unit testing
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgessinger committed Apr 4, 2023
1 parent 83aa3e9 commit 9a25c0a
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Tests/UnitTests/Core/EventData/TrackTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,14 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(Build, factory_t, holder_types) {
t2.nHoles() = 67;
BOOST_CHECK_EQUAL(t.nHoles(), 67);

t2.chiSquared() = 555.0;
BOOST_CHECK_EQUAL(t2.chiSquared(), 555.0);
t2.nOutliers() = 68;
BOOST_CHECK_EQUAL(t.nOutliers(), 68);

t2.nSharedHits() = 69;
BOOST_CHECK_EQUAL(t.nSharedHits(), 69);

t2.chi2() = 555.0;
BOOST_CHECK_EQUAL(t2.chi2(), 555.0);

t2.nDoF() = 123;
BOOST_CHECK_EQUAL(t2.nDoF(), 123);
Expand Down

0 comments on commit 9a25c0a

Please sign in to comment.