class_docstr: Test inputs and pre-processing.
class_docstr_tok: ["Test","inputs","and","pre-processing","."]
docstr: checks conversion from features as int to a list of binary digits
  with length = len(wires)
docstr_tok: ["checks","conversion","from","features","as","int","to","a","list","of","binary","digits","with","length","=","len","(","wires",")"]
code: def test_features_as_int_conversion(self, feat, wires, expected):
      """checks conversion from features as int to a list of binary digits
      with length = len(wires)"""
  
      assert (
          qml.BasisEmbedding(
              features=feat, wires=wires
          ).hyperparameters["basis_state"]
          == expected
      )
  
imports: import pytest
  import numpy
  import pennylane
  from pennylane import numpy
label_desc: Use image node_id 1 for calling the TestInputs obj's underlying member method code with example usage: obj.test_features_as_int_conversion(feat, wires, expected) without return types