JuliaDynamics / ComplexityMeasures.jl

Estimators for probabilities, entropies, and other complexity measures derived from data in the context of nonlinear dynamics and complex systems
MIT License
56 stars 14 forks source link

Correct testing for sorting in fixed rectangular binning #414

Closed Datseris closed 3 months ago

kahaaga commented 3 months ago

@Datseris We need a few tests that catch these new lines.

kahaaga commented 3 months ago

There's a mismatch between the expected error and what is actually thrown.

/home/runner/work/ComplexityMeasures.jl/ComplexityMeasures.jl/test/encodings/encodings/rectangular_bin_encoding.jl:12
  Expression: RectangularBinEncoding((5:-1:0,))
    Expected: ArgumentError
      Thrown: MethodError