code: def testBadParams(self):
      self.assertConfigureFails(CubicSpline(), {"leftBoundaryFlag": 3})
      self.assertConfigureFails(
          CubicSpline(), {"rightBoundaryFlag": -3}
      )
  
      # ascendant order
      self.assertConfigureFails(
          CubicSpline(),
          {"xPoints": [0, 10, 10, 20], "yPoints": [0, 5, -23, 17]},
      )
  
      # xPoints.size != yPoints.size
      self.assertConfigureFails(
          CubicSpline(),
          {"xPoints": [0, 10, 10, 20, 30], "yPoints": [0, 5, -23, 17]},
      )
  
      # even sizes for quadratic spline should fail
      self.assertConfigureFails(
          CubicSpline(),
          {"xPoints": [0, 10, 10, 20], "yPoints": [0, 5, -23, 17]},
      )
  
      self.assertConfigureFails(
          CubicSpline(), {"xPoints": [10, 0], "yPoints": [0, 10]}
      )
  
file_path: essentia/test/src/unittests/standard/test_cubicspline.py
imports: from essentia_test import *
  from essentia.standard import *
  from numpy import r_, sin, pi
label_desc: Use image node_id 1 for calling the TestCubicSpline obj's underlying member method code with example usage: obj.testBadParams() without return types