Re:Jury in Oracle v. Google finds in Google's favour
by brianwawok on Saturday May 28, 2016 @09:38AM
(#11791618)
Im guessing the unit test would fail. So what good would it do to add a failing unit test?
I do not envy those who have spent years of their life trying to reverse engineer .doc and .xls formats... those are pretty nasty.
E.g. if I open a word document in libreoffice (to do e.g. review and commenting), save it without any changes to the layout, then I'd expect the original author to have the same document layout as before... and that is not so. The same applies to LibreOffice Calc - opening and saving the document produces changes.
Can't you just have a unit test that verifies that reading and immediately writing a document should keep it completely unchanged, except possibly for metadata?