mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Adds semantic tests to test framework and isoltest.
This commit is contained in:
@@ -30,6 +30,14 @@ namespace solidity
|
||||
namespace test
|
||||
{
|
||||
|
||||
#define soltestAssert(CONDITION, DESCRIPTION) \
|
||||
do \
|
||||
{ \
|
||||
if (!(CONDITION)) \
|
||||
BOOST_THROW_EXCEPTION(runtime_error(DESCRIPTION)); \
|
||||
} \
|
||||
while (false)
|
||||
|
||||
/** Common superclass of SyntaxTest and SemanticsTest. */
|
||||
class TestCase
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user