From 72136aae4adfbd9022ac27ba03aa3b1dc52537fb Mon Sep 17 00:00:00 2001 From: Anders Fischer Date: Wed, 12 Dec 2018 15:38:41 +0100 Subject: [PATCH 1/3] Implemented danish() with tests. --- five.js | 1 + test.js | 1 + 2 files changed, 2 insertions(+) diff --git a/five.js b/five.js index 90507e66..2dbd3a5e 100755 --- a/five.js +++ b/five.js @@ -39,6 +39,7 @@ five.croatian = function() { return 'pet'; }; five.czech = function() { return 'pět'; }; five.dothraki = function() { return 'mek'; }; + five.danish = function() { return 'tre'; }; five.dovah = function() { return 'hen'; }; five.dutch = function() { return 'vijf'; }; five.elvish = function(type) { diff --git a/test.js b/test.js index 63ee6cc8..8e1041b9 100755 --- a/test.js +++ b/test.js @@ -29,6 +29,7 @@ assert.equal('tahlapi', five.choctaw(), 'A choctaw five should be tahlapi'); assert.equal('pet', five.croatian(), 'A croatian five should be pet'); assert.equal('pět', five.czech(), 'A czech five should be pět'); assert.equal('mek', five.dothraki(), 'A dothraki five should be mek'); +assert.equal('tre', five.danish(), 'A danish five should be tre'); assert.equal('hen', five.dovah(), 'A dovah five should be hen'); assert.equal('vijf', five.dutch(), 'A dutch five should be vijf'); assert.equal('lempë', five.elvish(), 'An elvish five should be lempë'); From 969f10f9cf30e93f5190c96afd6f3173628a2830 Mon Sep 17 00:00:00 2001 From: Anders Fischer Date: Wed, 12 Dec 2018 15:41:31 +0100 Subject: [PATCH 2/3] I dun goof'd. Forgot how to danish. --- five.js | 2 +- test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/five.js b/five.js index 2dbd3a5e..9ba86bea 100755 --- a/five.js +++ b/five.js @@ -39,7 +39,7 @@ five.croatian = function() { return 'pet'; }; five.czech = function() { return 'pět'; }; five.dothraki = function() { return 'mek'; }; - five.danish = function() { return 'tre'; }; + five.danish = function() { return 'fem'; }; five.dovah = function() { return 'hen'; }; five.dutch = function() { return 'vijf'; }; five.elvish = function(type) { diff --git a/test.js b/test.js index 8e1041b9..69f78361 100755 --- a/test.js +++ b/test.js @@ -29,7 +29,7 @@ assert.equal('tahlapi', five.choctaw(), 'A choctaw five should be tahlapi'); assert.equal('pet', five.croatian(), 'A croatian five should be pet'); assert.equal('pět', five.czech(), 'A czech five should be pět'); assert.equal('mek', five.dothraki(), 'A dothraki five should be mek'); -assert.equal('tre', five.danish(), 'A danish five should be tre'); +assert.equal('fem', five.danish(), 'A danish five should be fem'); assert.equal('hen', five.dovah(), 'A dovah five should be hen'); assert.equal('vijf', five.dutch(), 'A dutch five should be vijf'); assert.equal('lempë', five.elvish(), 'An elvish five should be lempë'); From aa9ab84888e0a630a7e8bf16faddc7c1a892e275 Mon Sep 17 00:00:00 2001 From: Anders Fischer Date: Wed, 12 Dec 2018 15:44:14 +0100 Subject: [PATCH 3/3] Added documentation. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index addc66f6..f2a69ba9 100644 --- a/README.md +++ b/README.md @@ -83,6 +83,7 @@ five.chinese('financial') // 伍 five.choctaw() // tahlapi five.croatian() // pet five.czech() // pět +five.danish() // fem five.dothraki() // mek five.dovah() // hen five.dutch() // vijf