コード例 #1
0
def test_calculate_target_1b0e7256():
    assert util.calculate_target(
        0x1b0e7256) == 0xe7256000000000000000000000000000000000000000000000000
コード例 #2
0
def test_calculate_target_03aaaaaa():
    assert util.calculate_target(0x03aaaaaa) == -0x2aaaaa
コード例 #3
0
ファイル: test_util.py プロジェクト: 3manuek/bitcoin-abe
def test_calculate_target_1c00800e():
    assert util.calculate_target(0x1c00800e) == 0x800e00000000000000000000000000000000000000000000000000
コード例 #4
0
def test_calculate_target_80555555():
    assert util.calculate_target(
        0x80555555
    ) == 0x5555550000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
コード例 #5
0
def test_calculate_target_01cccccc():
    assert util.calculate_target(0x01cccccc) == -0x4c
コード例 #6
0
def test_calculate_target_1a022fbe():
    assert util.calculate_target(
        0x1a022fbe) == 0x22fbe0000000000000000000000000000000000000000000000
コード例 #7
0
def test_calculate_target_004c792d():
    assert util.calculate_target(0x004c792d) == 0
コード例 #8
0
ファイル: test_util.py プロジェクト: 3manuek/bitcoin-abe
def test_calculate_target_1e0fffff():
    assert util.calculate_target(0x1e0fffff) == 0xfffff000000000000000000000000000000000000000000000000000000
コード例 #9
0
ファイル: test_util.py プロジェクト: 3manuek/bitcoin-abe
def test_calculate_target_1f123456():
    assert util.calculate_target(0x1f123456) == 0x12345600000000000000000000000000000000000000000000000000000000
コード例 #10
0
ファイル: test_util.py プロジェクト: 3manuek/bitcoin-abe
def test_calculate_target_1a022fbe():
    assert util.calculate_target(0x1a022fbe) == 0x22fbe0000000000000000000000000000000000000000000000
コード例 #11
0
ファイル: test_util.py プロジェクト: 3manuek/bitcoin-abe
def test_calculate_target_1900896c():
    assert util.calculate_target(0x1900896c) == 0x896c00000000000000000000000000000000000000000000
コード例 #12
0
ファイル: test_util.py プロジェクト: 3manuek/bitcoin-abe
def test_calculate_target_1a6a93b3():
    assert util.calculate_target(0x1a6a93b3) == 0x6a93b30000000000000000000000000000000000000000000000
コード例 #13
0
ファイル: test_util.py プロジェクト: 3manuek/bitcoin-abe
def test_calculate_target_1b0098fa():
    assert util.calculate_target(0x1b0098fa) == 0x98fa000000000000000000000000000000000000000000000000
コード例 #14
0
ファイル: test_util.py プロジェクト: 3manuek/bitcoin-abe
def test_calculate_target_1b0e7256():
    assert util.calculate_target(0x1b0e7256) == 0xe7256000000000000000000000000000000000000000000000000
コード例 #15
0
def test_calculate_target_1b0098fa():
    assert util.calculate_target(
        0x1b0098fa) == 0x98fa000000000000000000000000000000000000000000000000
コード例 #16
0
ファイル: test_util.py プロジェクト: 3manuek/bitcoin-abe
def test_calculate_target_80555555():
    assert util.calculate_target(0x80555555) == 0x5555550000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
コード例 #17
0
def test_calculate_target_1a6a93b3():
    assert util.calculate_target(
        0x1a6a93b3) == 0x6a93b30000000000000000000000000000000000000000000000
コード例 #18
0
ファイル: test_util.py プロジェクト: 3manuek/bitcoin-abe
def test_calculate_target_00777777():
    assert util.calculate_target(0x00777777) == 0x0
コード例 #19
0
def test_calculate_target_1900896c():
    assert util.calculate_target(
        0x1900896c) == 0x896c00000000000000000000000000000000000000000000
コード例 #20
0
ファイル: test_util.py プロジェクト: 3manuek/bitcoin-abe
def test_calculate_target_01cccccc():
    assert util.calculate_target(0x01cccccc) == -0x4c
コード例 #21
0
def test_calculate_target_1f123456():
    assert util.calculate_target(
        0x1f123456
    ) == 0x12345600000000000000000000000000000000000000000000000000000000
コード例 #22
0
ファイル: test_util.py プロジェクト: 3manuek/bitcoin-abe
def test_calculate_target_02666666():
    assert util.calculate_target(0x02666666) == 0x6666
コード例 #23
0
def test_calculate_target_00777777():
    assert util.calculate_target(0x00777777) == 0x0
コード例 #24
0
ファイル: test_util.py プロジェクト: 3manuek/bitcoin-abe
def test_calculate_target_03aaaaaa():
    assert util.calculate_target(0x03aaaaaa) == -0x2aaaaa
コード例 #25
0
def test_calculate_target_02666666():
    assert util.calculate_target(0x02666666) == 0x6666
コード例 #26
0
def test_calculate_target_1c00800e():
    assert util.calculate_target(
        0x1c00800e) == 0x800e00000000000000000000000000000000000000000000000000
コード例 #27
0
def test_calculate_target_1d00ffff():
    assert util.calculate_target(
        0x1d00ffff
    ) == 0xffff0000000000000000000000000000000000000000000000000000
コード例 #28
0
ファイル: test_util.py プロジェクト: 3manuek/bitcoin-abe
def test_calculate_target_004c792d():
    assert util.calculate_target(0x004c792d) == 0