fmt
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user