Skip to content
This repository has been archived by the owner on Oct 28, 2021. It is now read-only.

Commit

Permalink
Merge pull request #5733 from ethereum/balance-test
Browse files Browse the repository at this point in the history
Unit test for BALANCE
  • Loading branch information
chfast authored Sep 4, 2019
2 parents 2fd5c08 + 3a81561 commit 0faec9d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions test/unittests/libevm/VMTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -891,7 +891,7 @@ BOOST_AUTO_TEST_CASE(LegacyVMChainIDisInvalidBeforeIstanbul)
}
BOOST_AUTO_TEST_SUITE_END()

BOOST_FIXTURE_TEST_SUITE(LegacyVMSelfBalanceSuite, LegacyVMBalanceFixture)
BOOST_FIXTURE_TEST_SUITE(LegacyVMBalanceSuite, LegacyVMBalanceFixture)

BOOST_AUTO_TEST_CASE(LegacyVMSelfBalanceworksInIstanbul)
{
Expand All @@ -903,6 +903,11 @@ BOOST_AUTO_TEST_CASE(LegacyVMSelfBalanceHasCorrectCost)
testSelfBalanceHasCorrectCost();
}

BOOST_AUTO_TEST_CASE(LegacyVMBalanceHasCorrectCost)
{
testBalanceHasCorrectCost();
}

BOOST_AUTO_TEST_CASE(LegacyVMSelfBalanceisInvalidBeforeIstanbul)
{
testSelfBalanceisInvalidBeforeIstanbul();
Expand Down Expand Up @@ -1092,7 +1097,7 @@ BOOST_AUTO_TEST_CASE(AlethInterpreterChainIDisInvalidBeforeIstanbul)
}
BOOST_AUTO_TEST_SUITE_END()

BOOST_FIXTURE_TEST_SUITE(AlethInterpreterSelfBalanceSuite, AlethInterpreterBalanceFixture)
BOOST_FIXTURE_TEST_SUITE(AlethInterpreterBalanceSuite, AlethInterpreterBalanceFixture)

BOOST_AUTO_TEST_CASE(AlethInterpreterSelfBalanceworksInIstanbul)
{
Expand Down

0 comments on commit 0faec9d

Please sign in to comment.