readium/readium — pull request #27 by alicec (2012-03-01 20:23:30+00:00)
Title: Unit tests for switching between one-up and two-up mode

Also, working the the tests, I found a bug when the current pages are 0 and 1, when it toggles to one-up, page 0 becomes the new current page. I fixed it so it shows page 1 instead.