Sha256: 0b350f4120f1fd00a3b77f072b8aef46e67eb519e2979cca01e7ea21a24c495c
Contents?: true
Size: 568 Bytes
Versions: 230
Compression:
Stored size: 568 Bytes
Contents
import score from './scrabble-score' describe('Scrabble', () => { it('scores an empty word as zero', () => expect(score('')).toEqual(0)) xit('scores a null as zero', () => expect(score(undefined)).toEqual(0)) xit('scores a very short word', () => expect(score('a')).toEqual(1)) xit('scores the word by the number of letters', () => expect(score('street')).toEqual(6)) xit('scores more complicated words with more', () => expect(score('quirky')).toEqual(22)) xit('scores case insensitive words', () => expect(score('OXYPHENBUTAZONE')).toEqual(41)) })
Version data entries
230 entries across 230 versions & 1 rubygems