mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	empty sha test && common fix on mac
This commit is contained in:
		
							parent
							
								
									1d8593a177
								
							
						
					
					
						commit
						5a5973fc24
					
				| @ -36,6 +36,15 @@ namespace js = json_spirit; | |||||||
| 
 | 
 | ||||||
| BOOST_AUTO_TEST_SUITE(BasicTests) | BOOST_AUTO_TEST_SUITE(BasicTests) | ||||||
| 
 | 
 | ||||||
|  | BOOST_AUTO_TEST_CASE(emptySHA3Types) | ||||||
|  | { | ||||||
|  | 	h256 emptyListSHA3(fromHex("1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347")); | ||||||
|  | 	BOOST_REQUIRE_EQUAL(emptyListSHA3, EmptyListSHA3); | ||||||
|  | 	 | ||||||
|  | 	h256 emptySHA3(fromHex("c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470")); | ||||||
|  | 	BOOST_REQUIRE_EQUAL(emptySHA3, EmptySHA3); | ||||||
|  | } | ||||||
|  | 
 | ||||||
| BOOST_AUTO_TEST_CASE(genesis_tests) | BOOST_AUTO_TEST_CASE(genesis_tests) | ||||||
| { | { | ||||||
| 	string testPath = test::getTestPath(); | 	string testPath = test::getTestPath(); | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user