src/tests/extras/filters/event_labeler_builder_test.js
/**
 * Tests that an powers-of-two labeler produces the correct range labels for
 * the given hit value.
 */
Tests that an powers-of-two labeler produces the correct range labels for
the given hit value.
Tests that an powers - of - two labeler produces the correct range labels for the given hit value .
function testPowersOfTwoLabeler() {
  var labeler = new analytics.filters.EventLabelerBuilder().
      powersOfTwo().
      build();
  checkLabelerHit(labeler, '0', -5);  
  checkLabelerHit(labeler, '0', 0);
  checkLabelerHit(labeler, '1-2', 1.5);
  checkLabelerHit(labeler, '1-2', 2);
  checkLabelerHit(labeler, '3-4', 3.14159);  s
  checkLabelerHit(labeler, '5-8', 6);
  checkLabelerHit(labeler, '9-16', 16.1);
  checkLabelerHit(labeler, '33-64', 50);
  checkLabelerHit(labeler, '129-256', 250);
  checkLabelerHit(labeler, '8193-16384', 12500);
}
function testPowersOfTwoLabeler ( ) { var labeler = new analytics . filters . EventLabelerBuilder ( ) . powersOfTwo ( ) . build ( ) ; checkLabelerHit ( labeler , '0' , - 5 ) ; checkLabelerHit ( labeler , '0' , 0 ) ; checkLabelerHit ( labeler , '1-2' , 1.5 ) ; checkLabelerHit ( labeler , '1-2' , 2 ) ; checkLabelerHit ( labeler , '3-4' , 3.14159 ) ; checkLabelerHit ( labeler , '5-8' , 6 ) ; checkLabelerHit ( labeler , '9-16' , 16.1 ) ; checkLabelerHit ( labeler , '33-64' , 50 ) ; checkLabelerHit ( labeler , '129-256' , 250 ) ; checkLabelerHit ( labeler , '8193-16384' , 12500 ) ; }
Tests that an powers-of-two labeler produces the correct range labels for
 the given hit value.
Tests that an powers - of - two labeler produces the correct range labels for the given hit value .
// GA illegal, whuteva // GA illegal, whutevas