GlobalMetadata { static String toPixelSizeString(int numRows) { return Double.toString((RE * Math.PI) / (numRows - 1)); } GlobalMetadata(); static GlobalMetadata create(BinningOp operator); static GlobalMetadata create(BinningConfig config); void processMetadataTemplates(File metadataTemplateDir, BinningOp operator, Product targetProduct, Logger logger); SortedMap<String, String> asSortedMap(); MetadataElement asMetadataElement(); void load(File propertiesFile, Logger logger);  }
@Test public void testToPixelSizeString() { assertEquals("1821.593952320952", GlobalMetadata.toPixelSizeString(12)); assertEquals("2.446286592055973", GlobalMetadata.toPixelSizeString(8192)); }