it('should throw an error if `y` is not a number', () => { expect(() => create(0, NaN, 10, 10)).toThrow(); });
it('should have the expected values', () => { expect(RECTANGLE).toEqual(EXPECTED); });
it('should throw an error if `' + property + '` is set', () => { expect(() => RECTANGLE[property] = null).toThrow(); });
it('should return the empty set if `height` is zero', () => { expect(create(0, 0, 10, 0).empty).toBe(true); });
it('should return the empty set if both `width` and `height` are zero', () => { expect(create(0, 0, 0, 0).empty).toBe(true); });
it('should throw an error if `height` is `null`', () => { expect(() => create(0, 0, 10, null)).toThrow(); });
it('should throw an error if `width` is negative', () => { expect(() => create(0, 0, -10, 10)).toThrow(); });
it('should throw an error if `x` is `null`', () => { expect(() => create(null, 0, 10, 10)).toThrow(); });
it('should throw an error if `width` is `null`', () => { expect(() => create(0, 0, null, 10)).toThrow(); });
it('should return `false` for a nonmember within the right vertical bounds', () => { expect(contains(RECTANGLE, createPoint(-5, 5))).toBe(false); });