Skip to content
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

Create test for read vs read-write-read continuity #24

Closed
zackteo opened this issue Jan 4, 2021 · 2 comments · Fixed by #38
Closed

Create test for read vs read-write-read continuity #24

zackteo opened this issue Jan 4, 2021 · 2 comments · Fixed by #38

Comments

@zackteo
Copy link
Collaborator

zackteo commented Jan 4, 2021

Basically reading a file should produce the same output as that of reading-writing-reading again

@zackteo
Copy link
Collaborator Author

zackteo commented Jan 4, 2021

Cells behaving weirdly ...

  18. { :coord { :row 1, :col 0, :sheet "Sheet2" }, :value "6", :formula "TRUE()", :style { :font-colour :black, :col-size 10, :row-size 16 } }
  19. { :coord { :row 1, :col 2, :sheet "Sheet2" }, :value "7", :formula "FALSE()", :style { :font-colour :black, :col-size 10, :row-size 16 } }
  20. { :coord { :row 2, :col 0, :sheet "Sheet2" }, :value "8", :formula "1/0", :style { :font-colour :black, :col-size 10, :row-size 16 } }
  21. { :coord { :row 2, :col 1, :sheet "Sheet2" }, :value "9", :formula "#N/A", :style { :font-colour :black, :col-size 10, :row-size 16 } }
  22. { :coord { :row 2, :col 2, :sheet "Sheet2" }, :value "9", :formula "#N/A", :style { :font-colour :black, :col-size 10, :row-size 16 } }

The values are "1" "0" "6" "7" "7" first read

@zackteo
Copy link
Collaborator Author

zackteo commented Jan 4, 2021

Not sure about the value of 6 and 7 in the first read.

But this might suggest that #22 wasn't done perfectly after all - since I was using fxl to generate the file.

This might suggest that such special formulas are assigned a special value like so ...
6 -> TRUE()
7 -> FALSE()
8 -> 1/0
9 -> #N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant