Skip to content

Commit

Permalink
02_mcBit2Hideki.t
Browse files Browse the repository at this point in the history
provide number of bits for test
  • Loading branch information
sidey79 committed Jun 1, 2021
1 parent 7ec6909 commit 5daaa14
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions t/SD_Protocols/02_mcBit2Hideki.t
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,12 @@ subtest 'message is inverted' => sub {
};


subtest 'message ha 89 bits' => sub {
subtest 'message had 89 bits' => sub {
plan(2);

my $bitdata='101010001100100100110100010110101110100110111110000010101110111101101010110000000110111001000';
my $bitdata='01010001100100100110100010110101110100110111110000010101110111101101010110000000110111001000';

($rcode,$hexresult)=$Protocols->mcBit2Hideki(undef,$bitdata,$id,length $bitdata);
($rcode,$hexresult)=$Protocols->mcBit2Hideki(undef,$bitdata,$id,89);
is($rcode,1,'check returncode for Hideki transmission');
is($hexresult,'75DBBA8A13BE11A9FE6203','check result');
};

0 comments on commit 5daaa14

Please sign in to comment.