class_docstr: Unit tests for Base class. 
class_docstr_tok: ["Unit","tests","for","Base","class","."]
docstr: Testing membership. 
docstr_tok: ["Testing","membership","."]
code: def test_membership(self):
      """Testing membership."""
      self.report(
          "Testing membership of %s class." % (type(self.domain_obj))
      )
      points_are_in = [
          self.domain_obj.is_a_member(pt) for pt in self.points
      ]
      non_points_are_not_in = [
          not self.domain_obj.is_a_member(pt) for pt in self.non_points
      ]
      assert all(points_are_in)
      assert all(non_points_are_not_in)
  
imports: from __future__ import absolute_import
  import numpy
  from .None import domains
  from ..utils.general_utils import map_to_bounds
  from ..utils.base_test_class import BaseTestClass, execute_tests
label_desc: Use image node_id 4 for calling the DomainBaseTestCase obj's underlying member method code with example usage: obj.test_membership() without return types