code: def test_contains(self):
      assignment = {"feature": 1.0}
  
      mock_feature = Feature("feature")
      mock_feature.evaluate = MagicMock(return_value=1.0)
      set_bin = sc.SetBin(mock_feature, 0.0, {0.0})
      self.assertFalse(set_bin.contains(assignment))
  
      mock_feature = Feature("feature")
      mock_feature.evaluate = MagicMock(return_value=0.0)
      set_bin = sc.SetBin(mock_feature, 0.0, {0.0})
      self.assertTrue(set_bin.contains(assignment))
  
      mock_feature = Feature("feature")
      mock_feature.evaluate = MagicMock(return_value=0.5)
      set_bin = sc.SetBin(mock_feature, 0.0, {0.0, 1.0})
      self.assertFalse(set_bin.contains(assignment))
  
imports: from unittest import TestCase
  from unittest.mock import MagicMock
  from aix360.algorithms.rule_induction.trxf.core import Feature
  import aix360.algorithms.rule_induction.trxf.scorecard
label_desc: Use image node_id 2 for calling the TestSetBin obj's underlying member method code with example usage: obj.test_contains() without return types