### Question:
Version { public static boolean isNewVersion(String newVersion) { return isNewVersion(newVersion, VERSION); }  static int getMajorVersion(String version); static int getMinorVersion(String version); static int getPatchVersion(String version); static boolean isNewVersion(String newVersion); static boolean isNewVersion(String newVersion, String currentVersion); static int getP2PMessageVersion(); static void setBaseCryptoNetworkId(int baseCryptoNetworkId); static int getBaseCurrencyNetwork(); static void printVersion(); static final String VERSION; static final List<String> HISTORY; static final int P2P_NETWORK_VERSION; static final int LOCAL_DB_VERSION; static final int TRADE_PROTOCOL_VERSION; static final String BSQ_TX_VERSION; static final byte COMPENSATION_REQUEST; static final byte REIMBURSEMENT_REQUEST; static final byte PROPOSAL; static final byte BLIND_VOTE; static final byte VOTE_REVEAL; static final byte LOCKUP; static final byte ASSET_LISTING_FEE; static final byte PROOF_OF_BURN; }### Answer:
@Test public void testIsNewVersion() { assertFalse(Version.isNewVersion("0.0.0", "0.0.0")); assertTrue(Version.isNewVersion("0.1.0", "0.0.0")); assertTrue(Version.isNewVersion("0.0.1", "0.0.0")); assertTrue(Version.isNewVersion("1.0.0", "0.0.0")); assertTrue(Version.isNewVersion("0.5.1", "0.5.0")); assertFalse(Version.isNewVersion("0.5.0", "0.5.1")); assertTrue(Version.isNewVersion("0.6.0", "0.5.0")); assertTrue(Version.isNewVersion("0.6.0", "0.5.1")); assertFalse(Version.isNewVersion("0.5.0", "1.5.0")); assertFalse(Version.isNewVersion("0.4.9", "0.5.0")); }