var chai = require("chai");
var en = require("../lib/en");

chai.should();

describe('English', function(){
  it('should return 1st for 1', function(){
    en(1).should.equal('1st');
  });
  
  it('should return 2nd for 2', function(){
    en(2).should.equal('2nd');
  });
  
  it('should return 3rd for 3', function(){
    en(3).should.equal('3rd');
  });
  
  it('should return 4th for 4', function(){
    en(4).should.equal('4th');
  });
  
  it('should return 11th for 11', function(){
    en(11).should.equal('11th');
  });
  
  it('should return 12th for 12', function(){
    en(12).should.equal('12th');
  });
  
  it('should return 21st for 21', function(){
    en(21).should.equal('21st');
  });
  
  it('should return 101st for 101', function(){
    en(101).should.equal('101st');
  });
  
  it('should return 111th for 111', function(){
    en(111).should.equal('111th');
  });
  
  it('should return 121st for 121', function(){
    en(121).should.equal('121st');
  });
  
  it('should return 1031st for 1031', function(){
    en(1031).should.equal('1031st');
  });

});
@@ -73,732 +73,224 @@
 );%0A%0A
-describe('English', function()%7B%0A  it('should return 1st for 1', function()%7B%0A    en(1).should.equal('1st');%0A  %7D);%0A  %0A  it('should return 2nd for 2', function()%7B%0A    en(2).should.equal('2nd');%0A  %7D);%0A  %0A  it('should return 3rd for 3', function()%7B%0A    en(3).should.equal('3rd');%0A  %7D);%0A  %0A  it('should return 4th for 4', function()%7B%0A    en(4).should.equal('4th');%0A  %7D);%0A  %0A  it('should return 11th for 11', function()%7B%0A    en(11).should.equal('11th');%0A  %7D);%0A  %0A  it('should return 12th for 12', function()%7B%0A    en(12).should.equal('12th');%0A  %7D);%0A  %0A  it('should return 21st for 21', function()%7B%0A    en(21).should.equal('21st');%0A  %7D);%0A  %0A  it('should return 101st for 101', function()%7B%0A    en(101).should.equal('101st');%0A  %7D);
+var expected = %7B%0A  1: 'st',%0A  2: 'nd',%0A  3: 'rd',%0A  4: 'th',%0A  11: 'th',%0A  12: 'th',%0A  21: 'st',%0A  101: 'st',%0A  111: 'th',%0A  121: 'st',%0A  1031: 'st'%0A%7D;%0A%0Adescribe('English', function()%7B%0A  for(var key in expected) %7B
 %0A  
-%0A
   it
@@ -309,233 +309,74 @@
 urn 
-111th for 111', function()%7B%0A    en(111).should.equal('111th');%0A  %7D);%0A  %0A  it('should return 121st for 121', function()%7B%0A    en(121).should.equal('121st');%0A  %7D);%0A  %0A  it('should return 1031st for 1031', function()%7B%0A    en(1031
+' + expected%5Bkey%5D + ' for ' + key, function()%7B%0A      en.suffix(key
 ).sh
@@ -390,25 +390,35 @@
 ual(
-'1031st'
+expected%5Bkey%5D
 );%0A
+  
   %7D);%0A
+  %7D
 %0A%7D);

Reformat tests.