We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 376e088 commit f0df540Copy full SHA for f0df540
test/XanV1.unit.t.sol
@@ -626,8 +626,11 @@ contract XanV1UnitTest is Test {
626
assertEq(_xanProxy.lockedSupply(), 3 * valueToLock);
627
}
628
629
- function test_initialize_mints_1_billion_tokens() public view {
630
- uint256 expectedSupply = 10 ** 9 * (10 ** _xanProxy.decimals());
+ function test_initialize_mints_the_expected_supply_amounting_to_1_billion_tokens() public view {
+ uint256 expectedTokens = 10 ** 9;
631
+
632
+ // Consider the decimals for the expected supply.
633
+ uint256 expectedSupply = expectedTokens * (10 ** _xanProxy.decimals());
634
635
assertEq(Parameters.SUPPLY, expectedSupply);
636
assertEq(_xanProxy.totalSupply(), expectedSupply);
0 commit comments