diff --git a/src/test/java/com/sparrowwallet/hummingbird/registry/CryptoCoinInfoTest.java b/src/test/java/com/sparrowwallet/hummingbird/registry/CryptoCoinInfoTest.java index a89331d..7ad975f 100644 --- a/src/test/java/com/sparrowwallet/hummingbird/registry/CryptoCoinInfoTest.java +++ b/src/test/java/com/sparrowwallet/hummingbird/registry/CryptoCoinInfoTest.java @@ -17,6 +17,18 @@ public class CryptoCoinInfoTest { Assert.assertSame(coinInfo.getType().typeValue, CryptoCoinInfo.Type.ETHEREUM.typeValue); } + @Test + public void testBitcoinTypeCoinInfo() { + CryptoCoinInfo coinInfo = new CryptoCoinInfo(CryptoCoinInfo.Type.BITCOIN, CryptoCoinInfo.Network.MAINNET); + Assert.assertSame(coinInfo.getType(), CryptoCoinInfo.Type.BITCOIN); + } + + @Test + public void testEthereumTypeCoinInfo() { + CryptoCoinInfo coinInfo = new CryptoCoinInfo(CryptoCoinInfo.Type.ETHEREUM, CryptoCoinInfo.Network.MAINNET); + Assert.assertSame(coinInfo.getType(), CryptoCoinInfo.Type.ETHEREUM); + } + @Test public void testNullTypeCoinInfo() { CryptoCoinInfo coinInfo = new CryptoCoinInfo(null, CryptoCoinInfo.Network.MAINNET);