code: def test_depth_threshold_with_bin_expr():
      expr = ast.NumVal(1)
      for _ in range(4):
          expr = ast.BinNumExpr(
              ast.NumVal(1), expr, ast.BinNumOpType.ADD
          )
  
      expected_code = """
  double score(List<double> input) {
      double var0;
      var0 = 1.0 + 1.0 + 1.0;
      return 1.0 + 1.0 + var0;
  }
  """
  
      interpreter = CustomDartInterpreter()
      assert_code_equal(interpreter.interpret(expr), expected_code)
  
imports: from itertools import product
  import pytest
  from m2cgen import ast
  from m2cgen.interpreters import DartInterpreter
  from tests.utils import assert_code_equal
label_desc: Use image node_id 10 for calling a global function with example usage: test_depth_threshold_with_bin_expr() without return types