@Test
public void tpsToTpwRoundingTest()
{

  OperatorContext context = createOperatorContext(100, 1);
  long tuplesPerWindow = WindowUtils.tpsToTpw(context, 501L);
  Assert.assertEquals(51L, tuplesPerWindow);
}