use crate::matrix::Matrix;
#[derive(Debug, Clone, Copy, PartialEq)]
pub enum OpKind {
Row,
Col,
}
#[derive(Debug, Clone)]
pub struct FileParseResult {
pub ori: Matrix,
pub op_kind: OpKind,
pub steps: Vec<Step>,
}
#[derive(Debug, Clone)]
pub struct Step {
pub kind: OpKind,
pub ops: Vec<(usize, String)>,
pub expected: Matrix,
pub op_slices: Vec<Vec<String>>,
pub col_widths: Vec<usize>,
}
#[derive(Debug, Clone)]
pub struct RawBlock {
pub rows: Vec<Vec<f64>>,
pub ops: Vec<String>,
pub op_slices: Vec<Vec<String>>,
pub col_widths: Vec<usize>,
}