code: def test_cast(self):
      values = (True, "yes", None, False, "no", "n/a", "1", 0)
      casted = tuple(self.type.cast(v) for v in values)
      self.assertSequenceEqual(
          casted, (True, True, None, False, False, None, True, False)
      )
  
imports: import datetime
  import pickle
  import unittest
  from decimal import Decimal
  import parsedatetime
  from agate.data_types import Boolean, Date, DateTime, Number, Text, TimeDelta
  from agate.exceptions import CastError
label_desc: Use image node_id 3 for calling the TestBoolean obj's underlying member method code with example usage: obj.test_cast() without return types