docstr: Test that in1d works as expected for bool/int input.
docstr_tok: ["Test","that","in1d","works","as","expected","for","bool\/int","input","."]
code: def test_in1d_mixed_boolean(self, kind):
      """Test that in1d works as expected for bool/int input."""
      for dtype in np.typecodes["AllInteger"]:
          a = np.array([True, False, False], dtype=bool)
          b = np.array([0, 0, 0, 0], dtype=dtype)
          expected = np.array([False, True, True], dtype=bool)
          assert_array_equal(in1d(a, b, kind=kind), expected)
  
          a, b = b, a
          expected = np.array([True, True, True, True], dtype=bool)
          assert_array_equal(in1d(a, b, kind=kind), expected)
  
imports: import numpy
  from numpy.testing import assert_array_equal, assert_equal, assert_raises, assert_raises_regex
  from numpy.lib.arraysetops import ediff1d, intersect1d, setxor1d, union1d, setdiff1d, unique, in1d, isin
  import pytest
label_desc: Use image node_id 18 for calling the TestSetOps obj's underlying member method code with example usage: obj.test_in1d_mixed_boolean(kind) without return types