tests/test-gendoc-pt_BR.t
author Paul Morelle <paul.morelle@octobus.net>
Thu, 21 Jun 2018 18:19:57 +0200
changeset 38646 93313f66b69b
parent 28809 7a1ad08b9ff5
permissions -rw-r--r--
debugdeltachain: avoid division by zero when a chain is empty The two ratios chainratio and extraratio are computed using dividers that may be zero when the file is empty. As the denominators are integers, the limit of the ratio "just before zero" is the numerator value itself. If the numerator itself is zero, the ratio value is still meaningful: in both cases, a "good" value is a low ratio, and a size of zero is the optimal case.

#require docutils gettext

  $ $TESTDIR/check-gendoc pt_BR
  checking for parse errors