Skip to content
Snippets Groups Projects
Commit 4ec1edea authored by Christoph Hasse's avatar Christoph Hasse :cartwheel_tone1:
Browse files

fix(test) functor repr now prints @ instead of chain

parent bb39d845
No related branches found
No related tags found
1 merge request!885fix(test) functor repr now prints @ instead of chain
Pipeline #3950971 passed
......@@ -68,7 +68,7 @@ def test_repr_loki():
def test_str(simple_fc):
_str = """ PT: ('chain( ::Functors::Common::Rho_Coordinate{}, ::Functors::Track::ThreeMomentum{} )', ['Functors/Common.h', 'Functors/TrackLike.h'], '( RHO_COORDINATE chain THREEMOMENTUM )')
_str = """ PT: ('Functors::chain( ::Functors::Common::Rho_Coordinate{}, ::Functors::Track::ThreeMomentum{} )', ['Functors/Common.h', 'Functors/TrackLike.h'], '( RHO_COORDINATE @ THREEMOMENTUM )')
X: X
Y: Y"""
assert _str in str(simple_fc)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment