code: def test_contains(self):
      r = range(10)
      self.assertIn(0, r)
      self.assertIn(1, r)
      self.assertIn(5.0, r)
      self.assertNotIn(5.1, r)
      self.assertNotIn(-1, r)
      self.assertNotIn(10, r)
      self.assertNotIn("", r)
      r = range(9, -1, -1)
      self.assertIn(0, r)
      self.assertIn(1, r)
      self.assertIn(5.0, r)
      self.assertNotIn(5.1, r)
      self.assertNotIn(-1, r)
      self.assertNotIn(10, r)
      self.assertNotIn("", r)
      r = range(0, 10, 2)
      self.assertIn(0, r)
      self.assertNotIn(1, r)
      self.assertNotIn(5.0, r)
      self.assertNotIn(5.1, r)
      self.assertNotIn(-1, r)
      self.assertNotIn(10, r)
      self.assertNotIn("", r)
      r = range(9, -1, -2)
      self.assertNotIn(0, r)
      self.assertIn(1, r)
      self.assertIn(5.0, r)
      self.assertNotIn(5.1, r)
      self.assertNotIn(-1, r)
      self.assertNotIn(10, r)
      self.assertNotIn("", r)
  
imports: import unittest
  import sys
  import pickle
  import itertools
  from test.support import ALWAYS_EQ
label_desc: Use image node_id 25 for calling the RangeTest obj's underlying member method code with example usage: obj.test_contains() without return types