code: def test_if_expr():
      expr = ast.IfExpr(
          ast.CompExpr(
              ast.NumVal(1), ast.FeatureRef(0), ast.CompOpType.EQ
          ),
          ast.NumVal(2),
          ast.NumVal(3),
      )
  
      expected_code = """
  Module Model
  Function Score(ByRef inputVector() As Double) As Double
      Dim var0 As Double
      If 1.0 = inputVector(0) Then
          var0 = 2.0
      Else
          var0 = 3.0
      End If
      Score = var0
  End Function
  End Module
  """
  
      interpreter = VisualBasicInterpreter()
      assert_code_equal(interpreter.interpret(expr), expected_code)
  
imports: from itertools import product
  import pytest
  from m2cgen import ast
  from m2cgen.interpreters import VisualBasicInterpreter
  from tests.utils import assert_code_equal
label_desc: Use image node_id 1 for calling a global function with example usage: test_if_expr() without return types