use
SPVM
'TestCase::Operator::LogicalOperator'
;
my
$api
= SPVM::api();
my
$start_memory_blocks_count
=
$api
->get_memory_blocks_count();
{
{
ok(SPVM::TestCase::Operator::LogicalOperator->logical_and);
ok(SPVM::TestCase::Operator::LogicalOperator->logical_and_both_true);
ok(SPVM::TestCase::Operator::LogicalOperator->logical_and_left_true);
ok(SPVM::TestCase::Operator::LogicalOperator->logical_and_right_true);
ok(SPVM::TestCase::Operator::LogicalOperator->logical_and_both_false);
ok(SPVM::TestCase::Operator::LogicalOperator->logical_and_push_mortal_leave_scope);
ok(SPVM::TestCase::Operator::LogicalOperator->logical_and_nagate);
ok(SPVM::TestCase::Operator::LogicalOperator->logical_and_assign);
ok(SPVM::TestCase::Operator::LogicalOperator->logical_and_type);
}
{
ok(SPVM::TestCase::Operator::LogicalOperator->logical_or);
ok(SPVM::TestCase::Operator::LogicalOperator->logical_or_both_true);
ok(SPVM::TestCase::Operator::LogicalOperator->logical_or_left_true);
ok(SPVM::TestCase::Operator::LogicalOperator->logical_or_right_true);
ok(SPVM::TestCase::Operator::LogicalOperator->logical_or_both_false);
ok(SPVM::TestCase::Operator::LogicalOperator->logical_or_assign);
ok(SPVM::TestCase::Operator::LogicalOperator->logical_or_type);
}
{
ok(SPVM::TestCase::Operator::LogicalOperator->logical_not_operator);
ok(SPVM::TestCase::Operator::LogicalOperator->logical_not_false);
ok(SPVM::TestCase::Operator::LogicalOperator->logical_not_assign);
}
{
ok(SPVM::TestCase::Operator::LogicalOperator->combination);
}
{
ok(SPVM::TestCase::Operator::LogicalOperator->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;