Merge branch 'main' into worktree-improvise-ewi-formula-crate

This commit is contained in:
Edward Langley
2026-04-15 23:43:14 -07:00
12 changed files with 860 additions and 2946 deletions
+6 -2
View File
@@ -222,7 +222,8 @@ impl ImportPipeline {
if let Some(val) = map.get(&measure.field).and_then(|v| v.as_f64()) {
let mut cell_coords = coords.clone();
cell_coords.push(("_Measure".to_string(), measure.field.clone()));
wb.model.set_cell(CellKey::new(cell_coords), CellValue::Number(val));
wb.model
.set_cell(CellKey::new(cell_coords), CellValue::Number(val));
}
}
}
@@ -1112,6 +1113,9 @@ mod tests {
("Date_Month".to_string(), "2026-03".to_string()),
("_Measure".to_string(), "Amount".to_string()),
]);
assert_eq!(wb.model.get_cell(&key).and_then(|v| v.as_f64()), Some(100.0));
assert_eq!(
wb.model.get_cell(&key).and_then(|v| v.as_f64()),
Some(100.0)
);
}
}