#NEWLINE# def test_stat_coalesce_multi_mixed( self ) : #NEWLINE# #INDENT# stat1 = ActivityStatistic ( ActivityStatisticUnit . Meters , value = 1 ) #NEWLINE# stat2 = ActivityStatistic ( ActivityStatisticUnit . Meters , value = 2 ) #NEWLINE# stat3 = ActivityStatistic ( ActivityStatisticUnit . Meters , value = 3 ) #NEWLINE# stat4 = ActivityStatistic ( ActivityStatisticUnit . Meters , value = 4 ) #NEWLINE# stat5 = ActivityStatistic ( ActivityStatisticUnit . Meters , value = 5 ) #NEWLINE# stat5 . coalesceWith ( stat2 ) #NEWLINE# stat5 . coalesceWith ( stat3 ) #NEWLINE# stat1 . coalesceWith ( stat5 ) #NEWLINE# stat1 . coalesceWith ( stat4 ) #NEWLINE# self . assertEqual ( stat1 . Value , 3 )