Skip to content

ActsEvent: Increment surfaces with states and matching test

Edward Moyse requested to merge emoyse/athena:main-more-acts-edm into main

I had found that adding: BOOST_CHECK_EQUAL(ts.hasReferenceSurface(), false); to the unit tests caused an out of bounds exception.

I believe the problem was we need to increment m_surfaces with the states (i.e. this: !66279 (diffs) ), but I would like @tbold and @wolter to confirm they agree?

(I had also to modify the fillTrackState test function to handle the case where the surface WAS already filled).

cc @pagessin

Edited by Edward Moyse

Merge request reports