@Test
public void testEquals() {

    Value btcSatoshi = Value.valueOf(BitcoinMain.get(), 1);
    Value btcSatoshi2 = Value.valueOf(BitcoinMain.get(), 1);
    Value btcValue = Value.parse(BitcoinMain.get(), "3.14159");
    Value ltcSatoshi = Value.valueOf(LitecoinMain.get(), 1);
    Value ppcValue = Value.parse(PeercoinMain.get(), "3.14159");
    assertTrue(btcSatoshi.equals(btcSatoshi2));
    assertFalse(btcSatoshi.equals(ltcSatoshi));
    assertFalse(btcSatoshi.equals(btcValue));
    assertFalse(btcSatoshi.equals(ppcValue));
    assertFalse(btcValue.equals(ppcValue));
}