code: def test_negate():
      a = np.random.randn(100, 1).tolist()
      d = h2o.H2OFrame(a)
  
      assert (~(d["C1"] > 0) == (d["C1"] <= 0)).all()
      assert (~(d["C1"] <= 0) == (d["C1"] > 0)).all()
  
imports: from builtins import zip
  import sys
  import h2o
  from tests import pyunit_utils
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: test_negate() without return types