code: def test_GAM_monotone_splines_sine():
      train_file = pyunit_utils.locate(
          "smalldata/gam_test/monotonic_sine.csv"
      )
      test_file = pyunit_utils.locate(
          "smalldata/gam_test/notQuite_monotone_sine.csv"
      )
      build_assert_monotone_output(
          train_file, test_file, [], "Y", ["X"], [3], [2], [1]
      )
      build_assert_monotone_output(
          train_file, test_file, [], "Y", ["X"], [4], [2], [3]
      )
      build_assert_monotone_output(
          train_file, test_file, [], "Y", ["X"], [5], [2], [4]
      )
      build_assert_monotone_output(
          train_file, test_file, [], "Y", ["X"], [5], [2], [5]
      )
      build_assert_monotone_output(
          train_file, test_file, [], "Y", ["X"], [4], [2], [6]
      )
      build_assert_monotone_output(
          train_file, test_file, [], "Y", ["X"], [3], [2], [7]
      )
      build_assert_monotone_output(
          train_file, test_file, [], "Y", ["X"], [4], [2], [8]
      )
      build_assert_monotone_output(
          train_file, test_file, [], "Y", ["X"], [3], [2], [9]
      )
      build_assert_monotone_output(
          train_file, test_file, [], "Y", ["X"], [5], [2], [10]
      )
  
imports: import sys, os
  import h2o
  from tests import pyunit_utils
  from h2o.estimators.gam import H2OGeneralizedAdditiveEstimator
label_desc: Use image node_id 1 for calling a global function with example usage: test_GAM_monotone_splines_sine() without return types