code: def test_bin_vector_num_expr():
      expr = ast.BinVectorNumExpr(
          ast.VectorVal([ast.NumVal(1), ast.NumVal(2)]),
          ast.NumVal(1),
          ast.BinNumOpType.MUL,
      )
  
      expected_code = """
  #include <string.h>
  void add_vectors(double *v1, double *v2, int size, double *result) {
      for(int i = 0; i < size; ++i)
          result[i] = v1[i] + v2[i];
  }
  void mul_vector_number(double *v1, double num, int size, double *result) {
      for(int i = 0; i < size; ++i)
          result[i] = v1[i] * num;
  }
  void score(double * input, double * output) {
      double var0[2];
      mul_vector_number((double[]){1.0, 2.0}, 1.0, 2, var0);
      memcpy(output, var0, 2 * sizeof(double));
  }
  """
  
      interpreter = CInterpreter()
      assert_code_equal(interpreter.interpret(expr), expected_code)
  
imports: from itertools import product
  import pytest
  from m2cgen import ast
  from m2cgen.interpreters import CInterpreter
  from tests.utils import assert_code_equal
label_desc: Use image node_id 9 for calling a global function with example usage: test_bin_vector_num_expr() without return types