code: def test_integer(self):
      # Digits
      self.check_isolated_token("0", "INTEGER", 0)
      self.check_isolated_token("1", "INTEGER", 1)
      self.check_isolated_token("2", "INTEGER", 2)
      self.check_isolated_token("3", "INTEGER", 3)
      self.check_isolated_token("4", "INTEGER", 4)
      self.check_isolated_token("5", "INTEGER", 5)
      self.check_isolated_token("6", "INTEGER", 6)
      self.check_isolated_token("7", "INTEGER", 7)
      self.check_isolated_token("8", "INTEGER", 8)
      self.check_isolated_token("9", "INTEGER", 9)
      # Various-sized numbers
      self.check_isolated_token("10", "INTEGER", 10)
      self.check_isolated_token("102", "INTEGER", 102)
      self.check_isolated_token("1024", "INTEGER", 1024)
      self.check_isolated_token("10246", "INTEGER", 10246)
      self.check_isolated_token("102468", "INTEGER", 102468)
      self.check_isolated_token("1024683", "INTEGER", 1024683)
      self.check_isolated_token("10246835", "INTEGER", 10246835)
      self.check_isolated_token("102468357", "INTEGER", 102468357)
      self.check_isolated_token("1024683579", "INTEGER", 1024683579)
      # Leading zeros are not allowed
      self.check_failing_token("00")
      self.check_failing_token("01")
      self.check_failing_token("090")
  
file_path: datashader/datashader/datashape/tests/test_lexer.py
imports: from __future__ import absolute_import, division, print_function
  import unittest
  from datashader import datashape
  from datashader.datashape import lexer
label_desc: Use image node_id 4 for calling the TestDataShapeLexer obj's underlying member method code with example usage: obj.test_integer() without return types