-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding tests for AddressHelper::convertFormulaToA1 #2076
Comments
Hopefully simple answers to our questions:
If you save a file open in Excel as
|
Ah right, that makes complete sense now, thanks! Do you think this function should be split into two separate functions (one for SpreadsheetXML and one for A1)? That would require the callers to know which format the formulas are in. Is that a problem? |
It should be, even just separate methods inside the same class, because they're both reformatting addresses, but from different formats |
Closed by #2086 |
This is:
While working on #2060 I noticed that the AddressHelper::convertFormulatToA1 doesn't have any tests.
I'd like to write these tests because I think this is a very valuable function that contains a lot of logic. However there are some parts of the function that I don't understand.
The main things I'm not sure of are:
of:
"
and why do we only convert the non-quoted parts?Here's the function, with my questions in comments blocks.
If someone would be able to explain these parts to me and potentially provide some example functions, that would allow me to write much more effective tests.
The text was updated successfully, but these errors were encountered: