chai-stats
chai-stats copied to clipboard
almost.eql should fail for 2D arrays of different sizes
expect([[1, 2]]).to.eql([[1, 2], [3, 4]])
will fail.
expect([[1, 2]]).to.almost.eql([[1, 2], [3, 4]])
will pass. This should fail like above.