| 1 | 1 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 2 | 1 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | |||||||||||
| 4 | 1 | ▶ | use Search::Fzf::AlgoCpp; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | 1 | ▶ | use Test::More tests => 1; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | |||||||||||
| 7 | 1 | my @perlArr = qw(Hello fzf world); | |||||||||
| 8 | 1 | my $tac = 0; | |||||||||
| 9 | 1 | my $caseInsensitive = 1; | |||||||||
| 10 | 1 | my $headerLines = 0; | |||||||||
| 11 | 1 | my $algo = Search::Fzf::AlgoCpp->new($tac, $caseInsensitive, $headerLines); | |||||||||
| 12 | 1 | $algo->read(\@perlArr); | |||||||||
| 13 | |||||||||||
| 14 | 1 | ▶ | ok($algo->getCatArraySize == 3, "simple read from array.") || print "Bail out!\n"; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 15 | |||||||||||