<commit_before>#!/usr/bin/env perl

use strict;
use warnings;
use Test::More;
use DDG::Test::Spice;

spice is_cached => 1;

ddg_spice_test(
    [qw( DDG::Spice::Pokemon::Data)],
    'pikachu pokemon' => test_spice(
        '/js/spice/pokemon/data/pikachu',
        call_type => 'include',
        caller => 'DDG::Spice::Pokemon::Data'
    ),
    'pokemon Charizard' => test_spice(
        '/js/spice/pokemon/data/charizard',
        call_type => 'include',
        caller => 'DDG::Spice::Pokemon::Data'
    ),
    'bulbasaur pokemon' => test_spice(
        '/js/spice/pokemon/data/bulbasaur',
        call_type => 'include',
        caller => 'DDG::Spice::Pokemon::Data'
    ),
    'bulbasaur pokemon stats' => undef,
    'pokemon movie release date' => undef,
    'how to catch every pokemon' => undef,
    'pokemon sun and moon' => undef,
    'pokemon showdown' => undef,
    'pokemon go' => undef,
    'pokemon pictures' => undef,
    'pokemon tower defense' => undef
);

alt_to_test('DDG::Spice::Pokemon::Data', ['description']);

done_testing;
<commit_msg>Pokemon: Add more tests<commit_after>#!/usr/bin/env perl

use strict;
use warnings;
use Test::More;
use DDG::Test::Spice;

spice is_cached => 1;

ddg_spice_test(
    [qw( DDG::Spice::Pokemon::Data)],
    'pikachu pokemon' => test_spice(
        '/js/spice/pokemon/data/pikachu',
        call_type => 'include',
        caller => 'DDG::Spice::Pokemon::Data'
    ),
    'pokemon Charizard' => test_spice(
        '/js/spice/pokemon/data/charizard',
        call_type => 'include',
        caller => 'DDG::Spice::Pokemon::Data'
    ),
    'bulbasaur pokemon' => test_spice(
        '/js/spice/pokemon/data/bulbasaur',
        call_type => 'include',
        caller => 'DDG::Spice::Pokemon::Data'
    ),
    'bulbasaur pokemon stats' => undef,
    'pokemon movie release date' => undef,
    'how to catch every pokemon' => undef,
    'pokemon sun and moon' => undef,
    'pokemon showdown' => undef,
    'pokemon go' => undef,
    'pokemon pictures' => undef,
    'pokemon tower defense' => undef,
    'pokemon game' => undef,
    'pokemon movie' => undef,
    'showdown pokemon' => undef,
    'movie pokemon' => undef,
    'game pokemon' => undef,
    'pictures pokemon' => undef
);

alt_to_test('DDG::Spice::Pokemon::Data', ['description']);

done_testing;

{'fraction_non_alphanumeric': 0.16968911917098445, 'fraction_numerical': 0.0008635578583765112, 'mean_word_length': 3.152329749103943, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 45, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '704128', 'n_tokens_mistral': 897, 'n_tokens_neox': 869, 'n_words': 173}