use
SPVM
'TestCase::Module::StringList'
;
my
$api
= SPVM::api();
my
$start_memory_blocks_count
=
$api
->get_memory_blocks_count();
{
ok(SPVM::TestCase::Module::StringList->fields);
ok(SPVM::TestCase::Module::StringList->new);
ok(SPVM::TestCase::Module::StringList->new_len);
ok(SPVM::TestCase::Module::StringList->get);
ok(SPVM::TestCase::Module::StringList->insert);
ok(SPVM::TestCase::Module::StringList->
pop
);
ok(SPVM::TestCase::Module::StringList->
push
);
ok(SPVM::TestCase::Module::StringList->remove);
ok(SPVM::TestCase::Module::StringList->replace);
ok(SPVM::TestCase::Module::StringList->
splice
);
ok(SPVM::TestCase::Module::StringList->reserve);
ok(SPVM::TestCase::Module::StringList->resize);
ok(SPVM::TestCase::Module::StringList->set);
ok(SPVM::TestCase::Module::StringList->
shift
);
ok(SPVM::TestCase::Module::StringList->to_array);
ok(SPVM::TestCase::Module::StringList->
unshift
);
ok(SPVM::TestCase::Module::StringList->clone);
ok(SPVM::TestCase::Module::StringList->push_array);
ok(SPVM::TestCase::Module::StringList->unshift_array);
}
$api
->set_exception(
undef
);
my
$end_memory_blocks_count
=
$api
->get_memory_blocks_count();
is(
$end_memory_blocks_count
,
$start_memory_blocks_count
);
done_testing;