Returns a list of tests to add to the existing list.
array An array of tests
public function getTests() {
return array(
new Twig_SimpleTest('even', null, array(
'node_class' => 'Twig_Node_Expression_Test_Even',
)),
new Twig_SimpleTest('odd', null, array(
'node_class' => 'Twig_Node_Expression_Test_Odd',
)),
new Twig_SimpleTest('defined', null, array(
'node_class' => 'Twig_Node_Expression_Test_Defined',
)),
new Twig_SimpleTest('sameas', null, array(
'node_class' => 'Twig_Node_Expression_Test_Sameas',
)),
new Twig_SimpleTest('none', null, array(
'node_class' => 'Twig_Node_Expression_Test_Null',
)),
new Twig_SimpleTest('null', null, array(
'node_class' => 'Twig_Node_Expression_Test_Null',
)),
new Twig_SimpleTest('divisibleby', null, array(
'node_class' => 'Twig_Node_Expression_Test_Divisibleby',
)),
new Twig_SimpleTest('constant', null, array(
'node_class' => 'Twig_Node_Expression_Test_Constant',
)),
new Twig_SimpleTest('empty', 'twig_test_empty'),
new Twig_SimpleTest('iterable', 'twig_test_iterable'),
);
}