Skip to content

Commit 49f7dd0

Browse files
committed
Extra test
1 parent 684cc35 commit 49f7dd0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

convex-core/src/test/java/convex/core/cvm/PeerTest.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,11 @@
2121
import convex.core.init.Init;
2222
import convex.core.util.FileUtils;
2323

24+
import convex.core.cpos.CPoSConstants;
25+
2426
@TestInstance(Lifecycle.PER_CLASS)
2527
public class PeerTest {
28+
2629
public static String seed="1a44bbe097e38d2ba90e9426e9b1ab0ec12444a25e4d23b77fd121da728737f2";
2730

2831
static AKeyPair KP=AKeyPair.create(seed);
@@ -55,4 +58,10 @@ public void testBasicPeer() throws IOException, BadFormatException {
5558
Peer p4=Peer.fromData(KP, data2);
5659
assertEquals(p.getBelief(),p4.getBelief());
5760
}
61+
62+
@Test
63+
public void testPeerStatus() {
64+
PeerStatus ps=PeerStatus.create(Address.ZERO, CPoSConstants.MINIMUM_EFFECTIVE_STAKE);
65+
66+
}
5867
}

0 commit comments

Comments
 (0)