use types::Phase;

const ARG_PHASE: &str = "phase";

#[no_mangle]
pub extern "C" fn call() {
    let known_phase: Phase = runtime::get_named_arg(ARG_PHASE);
    let get_phase = runtime::get_phase();
    assert_eq!(
        get_phase, known_phase,