| 1 |
Source: libtest-bits-perl |
| 2 |
Section: perl |
| 3 |
Priority: optional |
| 4 |
Maintainer: Debian Perl Group <[email protected]> |
| 5 |
Uploaders: Florian Schlichting <[email protected]> |
| 6 |
Build-Depends: debhelper-compat (= 13) |
| 7 |
Build-Depends-Indep: liblist-allutils-perl, |
| 8 |
libtest-fatal-perl, |
| 9 |
perl |
| 10 |
Standards-Version: 4.6.1 |
| 11 |
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libtest-bits-perl |
| 12 |
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libtest-bits-perl.git |
| 13 |
Homepage: https://metacpan.org/release/Test-Bits |
| 14 |
Testsuite: autopkgtest-pkg-perl |
| 15 |
|
| 16 |
Package: libtest-bits-perl |
| 17 |
Architecture: all |
| 18 |
Depends: ${misc:Depends}, ${perl:Depends}, |
| 19 |
liblist-allutils-perl |
| 20 |
Description: Perl module for testing binary data |
| 21 |
Test::Bits provides a single subroutine, bits_is(), for testing binary data. |
| 22 |
. |
| 23 |
This module is quite similar to Test::BinaryData and Test::HexString in |
| 24 |
concept. The difference is that this module shows failure diagnostics in a |
| 25 |
different way, and has a slightly different calling style. Depending on the |
| 26 |
nature of the data you're working with, this module may be easier to work |
| 27 |
with. |
| 28 |
. |
| 29 |
In particular, when you're doing a lot of bit twiddling, this module's |
| 30 |
diagnostic output may make it easier to diagnose failures. A typical failure |
| 31 |
diagnostic will look like this: |
| 32 |
. |
| 33 |
The two pieces of binary data are not the same length (got 2, expected 3). |
| 34 |
. |
| 35 |
Binary data begins differing at byte 1. |
| 36 |
. |
| 37 |
Got: 01111000 |
| 38 |
. |
| 39 |
Expect: 01111001 |