private static void test ( ) {
  assert calc ( 6 ) == 30 ;
  assert calc ( 1000 ) == 972926972 ;
}

private static void test ( ) { assert calc ( 6 ) == 30 ; assert calc ( 1000 ) == 972926972 ; }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters) body: (block (assert_statement (binary_expression left: (method_invocation name: (identifier) arguments: (argument_list (decimal_integer_literal))) right: (decimal_integer_literal))) (assert_statement (binary_expression left: (method_invocation name: (identifier) arguments: (argument_list (decimal_integer_literal))) right: (decimal_integer_literal)))))