# Path: debugger/enums.py
# class DebuggerState(Enum):
#     """
#     Represents debugger state.
#     """
#     Started = 1
#     BinaryLoaded = 2
#     Running = 3
# 
# Path: tests/conftest.py
# TEST_SRC_DIR = os.path.join(TEST_DIR, "src")


import os
from debugger.enums import DebuggerState
from tests.conftest import TEST_SRC_DIR
# -*- coding: utf-8 -*-




def test_stop_no_launch(debugger):
    debugger.load_binary(os.path.join(TEST_SRC_DIR, "test_breakpoint_basic"))
    debugger.quit_program()


def test_load_file(debugger):
    assert debugger.load_binary(os.path.join(TEST_SRC_DIR,
                                             "test_breakpoint_basic"))

# Path: debugger/enums.py
# class DebuggerState(Enum):
#     """
#     Represents debugger state.
#     """
#     Started = 1
#     BinaryLoaded = 2
#     Running = 3
# 
# Path: tests/conftest.py
# TEST_SRC_DIR = os.path.join(TEST_DIR, "src")


# Path: tests/test_mi_basic.py
import os
from debugger.enums import DebuggerState
from tests.conftest import TEST_SRC_DIR

# -*- coding: utf-8 -*-




def test_stop_no_launch(debugger):
    debugger.load_binary(os.path.join(TEST_SRC_DIR, "test_breakpoint_basic"))
    debugger.quit_program()


def test_load_file(debugger):
    assert debugger.load_binary(os.path.join(TEST_SRC_DIR,
                                             "test_breakpoint_basic"))

    assert debugger.state.is_set(DebuggerState.BinaryLoaded)