code: def test_bin_vector_expr():
      expr = ast.BinVectorExpr(
          ast.VectorVal([ast.NumVal(1), ast.NumVal(2)]),
          ast.VectorVal([ast.NumVal(3), ast.NumVal(4)]),
          ast.BinNumOpType.ADD,
      )
  
      expected_code = """
  public class Model {
      public static double[] score(double[] input) {
          return addVectors(new double[] {1.0, 2.0}, new double[] {3.0, 4.0});
      }
      private static double[] addVectors(double[] v1, double[] v2) {
          double[] result = new double[v1.length];
          for (int i = 0; i < v1.length; i++) {
              result[i] = v1[i] + v2[i];
          }
          return result;
      }
      private static double[] mulVectorNumber(double[] v1, double num) {
          double[] result = new double[v1.length];
          for (int i = 0; i < v1.length; i++) {
              result[i] = v1[i] * num;
          }
          return result;
      }
  }
  """
  
      interpreter = JavaInterpreter()
      assert_code_equal(interpreter.interpret(expr), expected_code)
  
imports: from itertools import product
  import pytest
  from m2cgen import ast
  from m2cgen.interpreters import JavaInterpreter
  from tests.utils import assert_code_equal
label_desc: Use image node_id 10 for calling a global function with example usage: test_bin_vector_expr() without return types