Sha256: 23c4c6e7c0fbf531c83cf2fc34b6229eb0e29b82b070974066cb71c96c777542
Contents?: true
Size: 439 Bytes
Versions: 396
Compression:
Stored size: 439 Bytes
Contents
Prime = require './prime' describe 'Prime', -> it 'first', -> prime = Prime.nth(1) expect(prime).toEqual(2) xit 'second', -> prime = Prime.nth(2) expect(prime).toEqual(3) xit 'sixth', -> prime = Prime.nth(6) expect(prime).toEqual(13) xit 'big prime', -> prime = Prime.nth(10001) expect(prime).toEqual(104743) xit 'weird case', -> expect(-> Prime.nth(0)).toThrow("Prime is not possible")
Version data entries
396 entries across 396 versions & 1 rubygems