2014-01-06 12:40:09 +00:00
|
|
|
/*
|
|
|
|
This file is part of cpp-ethereum.
|
|
|
|
|
|
|
|
cpp-ethereum is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
Foobar is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with Foobar. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
/** @file main.cpp
|
|
|
|
* @author Gav Wood <i@gavwood.com>
|
|
|
|
* @date 2014
|
|
|
|
* Main test functions.
|
|
|
|
*/
|
|
|
|
|
|
|
|
// TODO: utilise the shared testdata.
|
|
|
|
|
2014-01-19 14:42:02 +00:00
|
|
|
int trieTest();
|
|
|
|
int rlpTest();
|
|
|
|
int daggerTest();
|
|
|
|
int cryptoTest();
|
|
|
|
int stateTest();
|
|
|
|
int hexPrefixTest();
|
|
|
|
|
2014-01-03 01:27:19 +00:00
|
|
|
int main()
|
|
|
|
{
|
2014-01-21 15:51:57 +00:00
|
|
|
// hexPrefixTest();
|
|
|
|
// rlpTest();
|
|
|
|
// trieTest();
|
2014-01-19 14:42:02 +00:00
|
|
|
// daggerTest();
|
2014-01-21 15:51:57 +00:00
|
|
|
// cryptoTest();
|
2014-01-19 14:42:02 +00:00
|
|
|
stateTest();
|
2014-01-03 01:27:19 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|