• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

blag / humanhash / 17 / 4

Build:
DEFAULT BRANCH: master
Ran 11 May 2017 03:10AM UTC
Files 1
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

11 May 2017 03:09AM UTC coverage: 97.826% (-2.2%) from 100.0%
17.4

push

travis-ci

blag
Revised Compression Method (#2)

* compress may return less than target bytes

Instead of throwing an error or zero-padding, "compress" now returns the
input bytes if there are less than or equal to "target" number of them.
I think this is logical since the goal of compress is to reduce the
complexity of the digest before making it human consumable. In this case
the complexity is already low enough to proceed.

* Revised compression method

Excess bytes are now distributed amongst the compressed bytes, instead
of being dumped into the final bit as they were before.

* Compression method comments

* Updated tests

Set new correct test outputs for revised compression method. Editted comments to be within line limit.

45 of 46 relevant lines covered (97.83%)

0.98 hits per line

Source Files on job 17.4
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 17
  • Travis Job 17.4
  • 14381457 on github
  • Prev Job for on master (#13.4)
  • Next Job for on master (#18.2)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc