Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(15)  |  Call(15)  |  Derive(0)  |  Import(0)

src/b/i/bitcoin-abe-HEAD/test/test_util.py   bitcoin-abe(Download)
def test_calculate_target_004c792d():
    assert util.calculate_target(0x004c792d) == 0
 
def test_calculate_target_1d00ffff():
    assert util.calculate_target(0x1d00ffff) == 0xffff0000000000000000000000000000000000000000000000000000
 
def test_calculate_target_1c00800e():
    assert util.calculate_target(0x1c00800e) == 0x800e00000000000000000000000000000000000000000000000000
def test_calculate_target_1b0e7256():
    assert util.calculate_target(0x1b0e7256) == 0xe7256000000000000000000000000000000000000000000000000
 
def test_calculate_target_1b0098fa():
    assert util.calculate_target(0x1b0098fa) == 0x98fa000000000000000000000000000000000000000000000000