code: def test_nested_condition():
      left = ast.BinNumExpr(
          ast.IfExpr(
              ast.CompExpr(
                  ast.NumVal(1), ast.NumVal(1), ast.CompOpType.EQ
              ),
              ast.NumVal(1),
              ast.NumVal(2),
          ),
          ast.NumVal(2),
          ast.BinNumOpType.ADD,
      )
      bool_test = ast.CompExpr(ast.NumVal(1), left, ast.CompOpType.EQ)
      expr_nested = ast.IfExpr(
          bool_test, ast.FeatureRef(2), ast.NumVal(2)
      )
      expr = ast.IfExpr(bool_test, expr_nested, ast.NumVal(2))
  
      expected_code = """
  func score(input []float64) float64 {
      var var0 float64
      var var1 float64
      if 1.0 == 1.0 {
          var1 = 1.0
      } else {
          var1 = 2.0
      }
      if 1.0 == var1 + 2.0 {
          var var2 float64
          if 1.0 == 1.0 {
              var2 = 1.0
          } else {
              var2 = 2.0
          }
          if 1.0 == var2 + 2.0 {
              var0 = input[2]
          } else {
              var0 = 2.0
          }
      } else {
          var0 = 2.0
      }
      return var0
  }
  """
  
      interpreter = GoInterpreter()
      assert_code_equal(interpreter.interpret(expr), expected_code)
  
imports: from itertools import product
  import pytest
  from m2cgen import ast
  from m2cgen.interpreters import GoInterpreter
  from tests.utils import assert_code_equal
label_desc: Use image node_id 5 for calling a global function with example usage: test_nested_condition() without return types