code: def test_max_min_int64_add_scalar(op, ctx, func_name):
      expected = {"max": [100.0], "min": [1.0]}
      nn.set_default_context(ctx)
      nn.set_auto_forward(True)
      x = nn.Variable(
          (
              1,
              100,
          )
      )
      x.d = range(100)
      func = getattr(F, op)
      idx = func(x, axis=1, only_index=True)
      idx += 1.0
      assert np.allclose(
          expected[op], idx.d
      ), "test long long copy failed!"
  
file_path: nnabla/python/test/function/test_reduction.py
imports: import pytest
  import numpy
  import nnabla
  import nnabla.functions
  from nnabla.testing import assert_allclose
  from nbla_test_utils import function_tester, list_context, list_ctx_and_func_name
label_desc: Use image node_id 10 for calling a global function with example usage: test_max_min_int64_add_scalar(op, ctx, func_name) without return types