Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VdfEGXA7aJ6ftMsCc9PJze
This commit is contained in:
Edward Langley
2026-09-22 21:10:28 -07:00
parent c88b4b5d69
commit 351a0adc5d
+21 -3
View File
@@ -1649,9 +1649,27 @@ fn seat(app: &mut App, client: &mut ClientState, at: (usize, usize)) {
fn yy_then_p_copies_the_value_the_host_copies() {
use improvise_protocol::CellValue::{Number, Text};
let cases = [
("a non-whole number", (2, 1), (1, 1), "Revenue", Number(1.23456789)),
("number-like text", (2, 2), (1, 2), "Cost", Text("007".into())),
("a formula's value", (3, 3), (1, 1), "Revenue", Number(10.123456 - 0.5)),
(
"a non-whole number",
(2, 1),
(1, 1),
"Revenue",
Number(1.23456789),
),
(
"number-like text",
(2, 2),
(1, 2),
"Cost",
Text("007".into()),
),
(
"a formula's value",
(3, 3),
(1, 1),
"Revenue",
Number(10.123456 - 0.5),
),
];
for (what, from, to, measure, expected) in cases {
let mut app = yank_host();