Sha256: 2e437cdde37888cf12b6b3e5816456e7aa2449643cf33d60a28d9e64200dd601

Contents?: true

Size: 1.51 KB

Versions: 255

Compression:

Stored size: 1.51 KB

Contents

var Raindrops = require('./raindrops');

describe('Raindrops', function() {
  var drops = new Raindrops();

  it('converts 1', function() {
    expect(drops.convert(1)).toEqual('1');
  });

  xit('converts 3', function() {
    expect(drops.convert(3)).toEqual('Pling');
  });

  xit('converts 5', function() {
    expect(drops.convert(5)).toEqual('Plang');
  });

  xit('converts 7', function() {
    expect(drops.convert(7)).toEqual('Plong');
  });

  xit('converts 6', function() {
    expect(drops.convert(6)).toEqual('Pling');
  });

  xit('converts 9', function() {
    expect(drops.convert(9)).toEqual('Pling');
  });

  xit('converts 10', function() {
    expect(drops.convert(10)).toEqual('Plang');
  });

  xit('converts 14', function() {
    expect(drops.convert(14)).toEqual('Plong');
  });

  xit('converts 15', function() {
    expect(drops.convert(15)).toEqual('PlingPlang');
  });

  xit('converts 21', function() {
    expect(drops.convert(21)).toEqual('PlingPlong');
  });

  xit('converts 25', function() {
    expect(drops.convert(25)).toEqual('Plang');
  });

  xit('converts 35', function() {
    expect(drops.convert(35)).toEqual('PlangPlong');
  });

  xit('converts 49', function() {
    expect(drops.convert(49)).toEqual('Plong');
  });

  xit('converts 52', function() {
    expect(drops.convert(52)).toEqual('52');
  });

  xit('converts 105', function() {
    expect(drops.convert(105)).toEqual('PlingPlangPlong');
  });

  xit('converts 12121', function() {
    expect(drops.convert(12121)).toEqual('12121');
  });

});

Version data entries

255 entries across 255 versions & 1 rubygems

Version Path
trackler-2.1.0.40 tracks/javascript/exercises/raindrops/raindrops.spec.js
trackler-2.1.0.39 tracks/javascript/exercises/raindrops/raindrops.spec.js
trackler-2.1.0.38 tracks/javascript/exercises/raindrops/raindrops.spec.js
trackler-2.1.0.37 tracks/javascript/exercises/raindrops/raindrops.spec.js
trackler-2.1.0.36 tracks/javascript/exercises/raindrops/raindrops.spec.js
trackler-2.1.0.34 tracks/javascript/exercises/raindrops/raindrops.spec.js
trackler-2.1.0.33 tracks/javascript/exercises/raindrops/raindrops.spec.js
trackler-2.1.0.32 tracks/javascript/exercises/raindrops/raindrops.spec.js
trackler-2.1.0.31 tracks/javascript/exercises/raindrops/raindrops.spec.js
trackler-2.1.0.30 tracks/javascript/exercises/raindrops/raindrops.spec.js
trackler-2.1.0.29 tracks/javascript/exercises/raindrops/raindrops.spec.js
trackler-2.1.0.28 tracks/javascript/exercises/raindrops/raindrops.spec.js
trackler-2.1.0.27 tracks/javascript/exercises/raindrops/raindrops.spec.js
trackler-2.1.0.26 tracks/javascript/exercises/raindrops/raindrops.spec.js
trackler-2.1.0.25 tracks/javascript/exercises/raindrops/raindrops.spec.js
trackler-2.1.0.24 tracks/javascript/exercises/raindrops/raindrops.spec.js
trackler-2.1.0.23 tracks/javascript/exercises/raindrops/raindrops.spec.js
trackler-2.1.0.22 tracks/javascript/exercises/raindrops/raindrops.spec.js
trackler-2.1.0.21 tracks/javascript/exercises/raindrops/raindrops.spec.js
trackler-2.1.0.20 tracks/javascript/exercises/raindrops/raindrops.spec.js