code: def test_main_versions():
      assert_(NumpyVersion("1.8.0") == "1.8.0")
      for ver in ["1.9.0", "2.0.0", "1.8.1", "10.0.1"]:
          assert_(NumpyVersion("1.8.0") < ver)
  
      for ver in ["1.7.0", "1.7.1", "0.9.9"]:
          assert_(NumpyVersion("1.8.0") > ver)
  
file_path: catboost/contrib/python/numpy/py3/numpy/lib/tests/test__version.py
imports: from numpy.testing import assert_, assert_raises
  from numpy.lib import NumpyVersion
label_desc: Use image node_id 1 for calling a global function with example usage: test_main_versions() without return types