Cache:...eTester(3pm)
π NAME π
Cache::SizeAwareCacheTester β bestie, it's a whole class for regression testing size aware caches β¨
πΈ DESCRIPTION πΈ
okay so listen. The SizeCacheTester is literally here to verify that a cache implementation honors its contract with respect to resizing capabilities π«Ά
that's it, that's the job. it's the vibe check for whether your cache actually does what it promised when you start resizing it. no cap π
β¨ SYNOPSIS β¨
use Cache::SizeAwareMemoryCache;
use Cache::SizeAwareCacheTester;
my $cache = new Cache::SizeAwareMemoryCache( );
my $cache_tester = new Cache::SizeAwareCacheTester( 1 );
$cache_tester->test( $cache );
look at her go π iconic behavior fr fr
π METHODS π
new( $initial_count )β Construct a newSizeAwareCacheTesterobject, with the counter starting at$initial_count. she's born ready π«test( )β Run the tests. that's the whole thing. go off, queen π
π¦ SEE ALSO π¦
Cache::CacheCache::BaseCacheTesterCache::CacheTester
the squad π iykyk
π AUTHOR π
- Original author: DeWitt Clinton
<dewitt@unto.net> - Last author:
$Author: dclinton $
Copyright (C) 2001-2003 DeWitt Clinton
shoutout to the Perl User Contributed Perl Documentation girlies for hosting this whole thing, and to perl v5.34.0 β the page is dated 2022-06-30, and yes she's still serving looks πβ¨π mwah, bye bestie! π«Ά
π¦ where this page comes from
- debian bookworm: libcache-cache-perl 1.08-3 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- debian trixie: libcache-cache-perl 1.08-3 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- ubuntu noble: libcache-cache-perl 1.08-3 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- ubuntu resolute: libcache-cache-perl 1.08-3 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- ubuntu stonking: libcache-cache-perl 1.08-3 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms