Fixed an error reported in which the last page was usually not listed due to division of Long returning a non-decimal value, therefore ceil method was not able to round up.
Also provided tests and cleaned up a bit the other tests.
Will release in a fix version as soon as it's merged.
Fixed an error reported in which the last page was usually not listed due to division of
Long
returning a non-decimal value, thereforeceil
method was not able to round up. Also provided tests and cleaned up a bit the other tests. Will release in a fix version as soon as it's merged.