use super::{PassageRun, PassageState};

pub fn advance(run: &mut PassageRun, evidence: &str) {
    run.evidence.push(evidence.to_string());
    run.steps_completed += 1;
    if run.steps_completed >= 5 {
        run.state = PassageState::Completed;
    } else {
        run.state = PassageState::Running;
    }
}
