Web lists-archives.com

Bug#919378: ITP: libtest-bits-perl -- Perl module for for testing binary data

Package: wnpp
Owner: Florian Schlichting <fsfs@xxxxxxxxxx>
Severity: wishlist
X-Debbugs-CC: debian-devel@xxxxxxxxxxxxxxxx, debian-perl@xxxxxxxxxxxxxxxx

* Package name    : libtest-bits-perl
  Version         : 0.02
  Upstream Author : Dave Rolsky <autarch@xxxxxxxx>
* URL             : https://metacpan.org/release/Test-Bits
* License         : Artistic-2.0
  Programming Lang: Perl
  Description     : Perl module for for testing binary data

Test::Bits provides a single subroutine, bits_is(), for testing binary data.

This module is quite similar to Test::BinaryData and Test::HexString in
concept. The difference is that this module shows failure diagnostics in a
different way, and has a slightly different calling style. Depending on the
nature of the data you're working with, this module may be easier to work

In particular, when you're doing a lot of bit twiddling, this module's
diagnostic output may make it easier to diagnose failures. A typical failure
diagnostic will look like this:

The two pieces of binary data are not the same length (got 2, expected 3).

Binary data begins differing at byte 1.

Got: 01111000

Expect: 01111001

The package will be maintained under the umbrella of the Debian Perl Group.
It is part of the dependency chain for GeoIP2.

Generated with the help of dpt-gen-itp(1) from pkg-perl-tools.