Пример #1
0
 public void testBufferSizeFor1000Col()
 {
     Assert.Equal(32 * 1024, WriterImpl.getEstimatedBufferSize(512L * 1024 * 1024, 1000, 128 * 1024));
 }
Пример #2
0
 public void testBufferSizeFor25000Col()
 {
     Assert.Equal(4 * 1024, WriterImpl.getEstimatedBufferSize(512L * 1024 * 1024, 25000, 256 * 1024));
 }
Пример #3
0
 public void testBufferSizeFor50Col()
 {
     Assert.Equal(256 * 1024, WriterImpl.getEstimatedBufferSize(256L * 1024 * 1024, 50, 256 * 1024));
 }