use
SPVM
'TestCase::Operator::New::Array'
;
my
$api
= SPVM::api();
my
$start_memory_blocks_count
=
$api
->get_memory_blocks_count();
{
ok(SPVM::TestCase::Operator::New::Array->array_store_undef);
}
{
ok(SPVM::TestCase::Operator::New::Array->array_default_zero_memory_pool);
ok(SPVM::TestCase::Operator::New::Array->array_default_zero_not_memory_pool);
}
{
ok(SPVM::TestCase::Operator::New::Array->any_object_array);
}
ok(SPVM::TestCase::Operator::New::Array->extra);
$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;