@@ -1 +1,1351 @@
+var test = require('mocha').it,%0A  expect = require('chai').expect;%0A%0Atest('fromEnglish: %22zero%22 through %22nine%22', function()%7B%0A  expect(fromEnglish).to.exist;%0A  expect(fromEnglish(%22zero%22)).to.equal(0);%0A  expect(fromEnglish(%22one%22)).to.equal(1);%0A  // more tests here, please...%0A%7D); // END test(fromEnglish)%0A%0A/**%0A * @param %7BString%7D word representing an English number%0A * @return %7BNumber%7D value corresponding to %60word%60%0A */%0Afunction fromEnglish(word)%7B%0A  // fill this in after writing tests...%0A%7D // END fromEnglish%0A%0Atest('plus: (%22zero%22, %22zero%22) through (%22zero%22, %22nine%22)', function()%7B%0A  expect(plus).to.exist;%0A  expect(plus(%22zero%22, %22zero%22)).to.equal(0);%0A  expect(plus(%22zero%22, %22one%22)).to.equal(1); // change just one thing!%0A  expect(plus(%22zero%22, %22two%22)).to.equal(FILL_ME_IN); // ha!%0A  // write more tests like those...%0A%7D); // END test(plus)%0A%0A/**%0A * @param %7BString%7D A representing an English number word%0A * @param %7BString%7D B representing an English number word%0A * @return %7BNumber%7D the value of %60A%60 added to %60B%60%0Afunction plus(A, B)%7B%0A  // write those tests first, please...%0A%7D // END plus%0A%0Atest('minus: (%22zero%22, %22zero%22) through (%22zero%22, %22nine%22)', function()%7B%0A  expect(minus).to.exist;%0A  expect(minus(%22zero%22, %22zero%22).to.equal(0);%0A  expect(minus(%22zero%22, %22one%22).to.equal(-1);%0A  // etc, etc, etc%0A%7D); // END test(minus)%0A%0A// What about multiplication? Division? Exponents?
 %0A

Update StringCalculator.js