@Test
public void testGetSplitRatio() throws Exception {

  Assert.assertEquals(1, DynamicInputFormat.getSplitRatio(1, 1000000000));
  Assert.assertEquals(2, DynamicInputFormat.getSplitRatio(11000000, 10));
  Assert.assertEquals(4, DynamicInputFormat.getSplitRatio(30, 700));
  Assert.assertEquals(2, DynamicInputFormat.getSplitRatio(30, 200));
}