HDPathTest: add two more asserts to testExtendVarargs()
Test that basePath is initialized correctly and that `hasPrivateKey()` is tested somewhere.
@@ -39,6 +39,10 @@ public class HDPathTest {
@Test
public void testExtendVarargs() {
HDPath basePath = new HDPath(true, Collections.emptyList());
+
+ assertTrue(basePath.hasPrivateKey());
+ assertEquals("m", basePath.toString());
+
// Make sure we can do a depth of 5 as per BIP44, etc.
// m / 44' / coinType' / accountIndex' / change / addressIndex
HDPath path1 = basePath.extend(ChildNumber.ZERO_HARDENED);
