#!/usr/bin/env perl use strict; use warnings; use Test::More; use DDG::Test::Goodie; zci answer_type => 'dewey_decimal'; zci is_cached => 1; ddg_goodie_test( [qw( DDG::Goodie::Dewey )], 'dewey 123' => test_zci("123 is determinism and indeterminism in the Dewey Decimal System.", html => "123 is determinism and indeterminism in the Dewey Decimal System."), '646 dewey decimal system' => test_zci("646 is sewing, clothing, personal living in the Dewey Decimal System.", html => "646 is sewing, clothing, personal living in the Dewey Decimal System."), 'dewey decimal system 640s' => test_zci("", html => '
641Food & drink
642Meals & table service
643Housing & household equipment
644Household utilities
645Household furnishings
646Sewing, clothing, personal living
647Management of public households
648Housekeeping
649Child rearing & home care of sick
'), '#1 in the dewey decimal system' => test_zci("001 is knowledge in the Dewey Decimal System.", html => '001 is knowledge in the Dewey Decimal System.'), 'dewey decimal system naturalism' => test_zci("146 is naturalism and related systems in the Dewey Decimal System.", html => '146 is naturalism and related systems in the Dewey Decimal System.'), 'etymology in the dewey decimal system' => test_zci("", html => '
452Italian etymology
412Etymology
432German etymology
462Spanish etymology
472Classical Latin etymology & phonology
442French etymology
422English etymology
482Classical Greek etymology
'), ); done_testing;