Automattic / expect.js

Minimalistic BDD-style assertions for Node.JS and the browser.
2.11k stars 209 forks source link

Added new test methods lessThanOrEqual() and greaterThanOrEqual() #114

Open nitram509 opened 10 years ago

nitram509 commented 10 years ago

Hi,

while writing tests for a graph layout algorithm, I've needed to more test methods, like

expect(3).to.be.belowOrEqual(9);
expect(5).to.be.aboveOrEqual(2);

So I've added them to expect.js library. Tests are included.

Regards Martin

EvanHahn commented 8 years ago

My fork Expecting.js has this change, if you're interested.