def METHOD_NAME(evmtester, branch_results):
    evmtester.requireBranches(4, False, False, False, False)
    results = branch_results()
    for i in [1453, 1484, 1524, 1530, 1555, 1561]:
        assert [i, i + 1] in results[True]
    with pytest.raises(VirtualMachineError):
        evmtester.requireBranches(4, False, True, False, False)
    results = branch_results()
    for i in [1453, 1484, 1524]:
        assert [i, i + 1] in results[True]
    assert [1530, 1531] in results[False]
    with pytest.raises(VirtualMachineError):
        evmtester.requireBranches(4, True, False, False, False)
    results = branch_results()
    for i in [1459, 1490]:
        assert [i, i + 1] in results[True]
    for i in [1453, 1484, 1524]:
        assert [i, i + 1] in results[False]