Fixed tests

Now only 7 tests fail. Revolutionary!
This commit is contained in:
Gytis Daujotas
2016-03-24 16:39:09 +00:00
parent dfeb154707
commit 892a590122
2 changed files with 7 additions and 7 deletions

View File

@@ -14,7 +14,7 @@ function is(x) {
1101, // Binary 13
"XIII", // Roman numeral 13
"0xD", // Hex 13
"https://scontent.cdninstagram.com/hphotos-xtf1/t51.2885-15/s320x320/e35/12237511_444845689040315_1101385461_n.jpg", // Just because we can
"https://www.youtube.com/watch?v=pte3Jg-2Ax4", // Thirteen by Big Star
"rem hadley", // And because he's 13
@@ -23,7 +23,7 @@ function is(x) {
"Dr. Remy Beauregard Hadley", // Why not 13's real name?!
// Imaginary 13's
"13+0i",
"13+0i",
"13 + 13i",
"13i",
@@ -38,7 +38,7 @@ function is(x) {
"trinaest", // Croatian
"tretten", // Danish / Norwegian
"kolmteist", // Estonian
"שלוש עשרה", // Hebrew
"שלוש עשרה", // Hebrew
"labintatlo", // Filipino
"kolmetoista", // Finnish
"treize", // French
@@ -74,12 +74,12 @@ function is(x) {
"tri ar ddeg", // Welsh
"דרייַצן", // Yiddish,
"kumi na tatu", // Swahili
//Imaginary 13's
"13+0i",
"13 + 13i",
"13i",
// Thirteen pronunciation
"θərˈtiːn"
]

View File

@@ -1,5 +1,5 @@
const tap = require('tap');
const isThirteen = require('./');
const is = require('./');
tap.equal(is(13).thirteen(), true);
@@ -53,7 +53,7 @@ tap.equal(is("tiga belas").thirteen(), true); // Malay
tap.equal(is("арван").thirteen(), true); // Mongolian
tap.equal(is("trzynaście").thirteen(), true); // Polish
tap.equal(is("treze").thirteen(), true); // Portoguese
tap.equal(is("ਤੀਹ").thirteen(), true); // Punjabi
tap.equal(is("ਤੀਹ").thirteen(), true); // Punjabi
tap.equal(is("treisprezece").thirteen(), true); // Romanian
tap.equal(is("тринадцать").thirteen(), true); // Russia
tap.equal(is("trinásť").thirteen(), true); // Slovak