code: def test_eval_arithmetic():
      a, b, c = as_apply((2, 3, 4))
  
      assert (a + b).eval() == 5
      assert (a + b + c).eval() == 9
      assert (a + b + 1 + c).eval() == 10
  
      assert (a * b).eval() == 6
      assert (a * b * c * (-1)).eval() == -24
  
      assert (a - b).eval() == -1
      assert (a - b * c).eval() == -10
  
      assert (a // b).eval() == 0  # int div
      assert (b // a).eval() == 1  # int div
      assert (c / a).eval() == 2
      assert (4 / a).eval() == 2
      assert (a / 4.0).eval() == 0.5
  
imports: from hyperopt.pyll import base
  from hyperopt.pyll.base import Literal, as_apply, Apply, dfs, scope, rec_eval, p0, Lambda, clone_merge
  from nose import SkipTest
  from nose.tools import assert_raises
  import numpy
label_desc: Use image node_id 15 for calling a global function with example usage: test_eval_arithmetic() without return types