class_docstr: Test inputs and pre-processing.
class_docstr_tok: ["Test","inputs","and","pre-processing","."]
docstr: Verifies that exception is raised if there are fewer
  rotation gates than features.
docstr_tok: ["Verifies","that","exception","is","raised","if","there","are","fewer","rotation","gates","than","features","."]
code: def test_exception_fewer_rotations(self):
      """Verifies that exception is raised if there are fewer
      rotation gates than features."""
  
      features = [0, 0, 1, 0]
      dev = qml.device("default.qubit", wires=3)
  
      @qml.qnode(dev)
      def circuit(x=None):
          qml.AngleEmbedding(features=x, wires=range(3))
          return qml.expval(qml.PauliZ(0))
  
      with pytest.raises(ValueError, match="Features must be of"):
          circuit(x=features)
  
imports: import pytest
  import numpy
  from pennylane import numpy
  import pennylane
label_desc: Use image node_id 1 for calling the TestInputs obj's underlying member method code with example usage: obj.test_exception_fewer_rotations() and returns: qml