From 6cc3833bbdc8247029983a66cd9102569ccfa59c Mon Sep 17 00:00:00 2001 From: mikera Date: Thu, 5 Dec 2024 02:39:35 +0000 Subject: [PATCH] Extra coin supply tests --- convex-core/src/test/java/convex/core/lang/CoreTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/convex-core/src/test/java/convex/core/lang/CoreTest.java b/convex-core/src/test/java/convex/core/lang/CoreTest.java index 87477a48f..e6f41ab2a 100644 --- a/convex-core/src/test/java/convex/core/lang/CoreTest.java +++ b/convex-core/src/test/java/convex/core/lang/CoreTest.java @@ -2886,6 +2886,7 @@ public void testCoinSupply() { Context ctx=context(); CVMLong supply=eval("(coin-supply)"); assertTrue(supply.longValue()>ctx.getBalance()); + assertTrue(supply.longValue()==ctx.getState().computeSupply()); } @Test