use
SPVM
'TestCase::Lib::Format'
;
my
$start_memory_blocks_count
= SPVM::get_memory_blocks_count();
{
ok(SPVM::TestCase::Lib::Format->sprintf_d);
ok(SPVM::TestCase::Lib::Format->sprintf_u);
ok(SPVM::TestCase::Lib::Format->sprintf_ld);
ok(SPVM::TestCase::Lib::Format->sprintf_lu);
ok(SPVM::TestCase::Lib::Format->sprintf_f);
ok(SPVM::TestCase::Lib::Format->sprintf_g);
ok(SPVM::TestCase::Lib::Format->sprintf_c);
ok(SPVM::TestCase::Lib::Format->sprintf_s);
ok(SPVM::TestCase::Lib::Format->sprintf_percent);
ok(SPVM::TestCase::Lib::Format->sprintf_x);
ok(SPVM::TestCase::Lib::Format->sprintf_X);
ok(SPVM::TestCase::Lib::Format->sprintf_lx);
ok(SPVM::TestCase::Lib::Format->sprintf_lX);
ok(SPVM::TestCase::Lib::Format->sprintf_all);
}
my
$end_memory_blocks_count
= SPVM::get_memory_blocks_count();
is(
$end_memory_blocks_count
,
$start_memory_blocks_count
);
done_testing;