#!/usr/bin/env perl
use strict;
use warnings;
use Test::More;
use Test::Deep;
use DDG::Test::Goodie;
zci answer_type => "brt";
zci is_cached => 1;
ddg_goodie_test(
[qw( DDG::Goodie::BRT )],
"brt 123456789012" => test_zci(
"123456789012",
structured_answer => {
input => [],
operation => 'Shipment tracking available at BRT.',
result => '123456789012'
}
),
"brt 1234567890123456789" => test_zci(
"1234567890123456789",
structured_answer => {
input => [],
operation => 'Shipment tracking available at BRT.',
result => '1234567890123456789'
}
),
"brt 1234" => undef,
"brt 12345678901234567890" => undef
);
done_testing;