diff options
author | Gav Wood <i@gavwood.com> | 2014-02-22 03:18:30 +0800 |
---|---|---|
committer | Gav Wood <i@gavwood.com> | 2014-02-22 03:18:30 +0800 |
commit | e9057d221cab6e0151c0ce91df0a56b89ee97399 (patch) | |
tree | c15ba69df6eb20bccb82e41caa9dd3c9cae8bd0e /dagger.cpp | |
parent | a93547d9d1cb0c8f2dc31cd2891f3d11a63b78a1 (diff) | |
download | dexon-solidity-e9057d221cab6e0151c0ce91df0a56b89ee97399.tar.gz dexon-solidity-e9057d221cab6e0151c0ce91df0a56b89ee97399.tar.zst dexon-solidity-e9057d221cab6e0151c0ce91df0a56b89ee97399.zip |
VM test framework.
Diffstat (limited to 'dagger.cpp')
-rw-r--r-- | dagger.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -31,16 +31,16 @@ int daggerTest() // Test dagger { auto s = steady_clock::now(); - cout << hex << Dagger().eval((h256)1, (h256)0); + cout << hex << Dagger().eval((h256)(u256)1, (h256)(u256)0); cout << " " << dec << duration_cast<milliseconds>(steady_clock::now() - s).count() << " ms" << endl; - cout << hex << Dagger().eval((h256)1, (h256)1); + cout << hex << Dagger().eval((h256)(u256)1, (h256)(u256)1); cout << " " << dec << duration_cast<milliseconds>(steady_clock::now() - s).count() << " ms" << endl; } { auto s = steady_clock::now(); - cout << hex << Dagger().eval((h256)1, (h256)0); + cout << hex << Dagger().eval((h256)(u256)1, (h256)(u256)0); cout << " " << dec << duration_cast<milliseconds>(steady_clock::now() - s).count() << " ms" << endl; - cout << hex << Dagger().eval((h256)1, (h256)1); + cout << hex << Dagger().eval((h256)(u256)1, (h256)(u256)1); cout << " " << dec << duration_cast<milliseconds>(steady_clock::now() - s).count() << " ms" << endl; } return 0; |