Sha256: b2d807455212369e96509f7a3304d41780ced9aa643783035619723f40be57e7
Contents?: true
Size: 498 Bytes
Versions: 59
Compression:
Stored size: 498 Bytes
Contents
describe("toBeLessThan", function() { it("passes when actual < expected", function() { var matcher = j$.matchers.toBeLessThan(), result; result = matcher.compare(1, 2); expect(result.pass).toBe(true); }); it("fails when actual <= expected", function() { var matcher = j$.matchers.toBeLessThan(), result; result = matcher.compare(1, 1); expect(result.pass).toBe(false); result = matcher.compare(2, 1); expect(result.pass).toBe(false); }); });
Version data entries
59 entries across 59 versions & 4 rubygems