diff --git a/src/test/scala/com/github/fluency03/blockchain/core/WalletTest.scala b/src/test/scala/com/github/fluency03/blockchain/core/WalletTest.scala index cf4aad8..9e8bf2e 100644 --- a/src/test/scala/com/github/fluency03/blockchain/core/WalletTest.scala +++ b/src/test/scala/com/github/fluency03/blockchain/core/WalletTest.scala @@ -36,4 +36,15 @@ class WalletTest extends FlatSpec with Matchers { kc2.balance(uTxOs) shouldEqual 40 } + "SeededWallet" should "maintain a set of keys in seeded way." in { + val wallet = SeededWallet() + + // TODO (Chang): tests after methods being implemented + a[NotImplementedError] should be thrownBy wallet.size() + a[NotImplementedError] should be thrownBy wallet.newKey() + a[NotImplementedError] should be thrownBy wallet.getKey("") + a[NotImplementedError] should be thrownBy wallet.balance(mutable.Map.empty[Outpoint, TxOut]) + + } + }