@@ -231,6 +231,7 @@ describe('waterfall calc / crossTraceCalc', function() {
231231 assertPointField ( cd , 'isSum' , [ [ false , false , false ] , [ true , false , true , false , true ] ] ) ;
232232 assertPointField ( cd , 'rawS' , [ [ 2 , 1 , 2 ] , [ 3 , 1 , 0 , 2 , 0 ] ] ) ;
233233 assertPointField ( cd , 'dir' , [ [ 'increasing' , 'increasing' , 'increasing' ] , [ 'totals' , 'increasing' , 'totals' , 'increasing' , 'totals' ] ] ) ;
234+ assertPointField ( cd , 'cNext' , [ [ true , true , false ] , [ true , true , true , true , false ] ] ) ;
234235 assertPointField ( cd , 'hasTotals' , [ [ false , undefined , undefined ] , [ true , undefined , undefined , undefined , undefined ] ] ) ;
235236 assertTraceField ( cd , 't.barwidth' , [ 0.8 , 0.8 ] ) ;
236237 assertTraceField ( cd , 't.poffset' , [ - 0.4 , - 0.4 ] ) ;
@@ -263,6 +264,7 @@ describe('waterfall calc / crossTraceCalc', function() {
263264 assertPointField ( cd , 'isSum' , [ [ false , false , false ] , [ true , false , true , false , true ] ] ) ;
264265 assertPointField ( cd , 'rawS' , [ [ 2 , 1 , 2 ] , [ 3 , 1 , 0 , 2 , 0 ] ] ) ;
265266 assertPointField ( cd , 'dir' , [ [ 'increasing' , 'increasing' , 'increasing' ] , [ 'totals' , 'increasing' , 'totals' , 'increasing' , 'totals' ] ] ) ;
267+ assertPointField ( cd , 'cNext' , [ [ true , true , false ] , [ true , true , true , true , false ] ] ) ;
266268 assertPointField ( cd , 'hasTotals' , [ [ false , undefined , undefined ] , [ true , undefined , undefined , undefined , undefined ] ] ) ;
267269 assertTraceField ( cd , 't.barwidth' , [ 0.36 , 0.36 ] ) ;
268270 assertTraceField ( cd , 't.poffset' , [ - 0.38 , 0.02 ] ) ;
0 commit comments