code: def test_sigmoid_expr():
      expr = ast.SigmoidExpr(ast.NumVal(2.0))
  
      expected_code = """
  public class Model {
      public static double score(double[] input) {
          return sigmoid(2.0);
      }
      private static double sigmoid(double x) {
          if (x < 0.0) {
              double z = Math.exp(x);
              return z / (1.0 + z);
          }
          return 1.0 / (1.0 + Math.exp(-x));
      }
  }
  """
  
      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 26 for calling a global function with example usage: test_sigmoid_expr() without return types