DAPDownloader { static double getDownloadSpeed(long durationInMillis, int kilobyteCount) { return kilobyteCount / (durationInMillis / 1000.0); } DAPDownloader(Map<String, Boolean> dapUris, List<String> fileURIs, DownloadContext downloadContext,
                         DownloadProgressBarPM pm); void saveProducts(File targetDir);  }
@Test public void testGetDownloadSpeed() { assertEquals(1024.0 / 60.0, DAPDownloader.getDownloadSpeed(60 * 1000, 1024), 1E-4); }