"use strict";

var assert = require('assert');

var StringCalculator = function() {
  return {
    add: function() {}
  };
};

suite('String calculator', function() {
  suite('#add', function() {
    test('can create', function() {
      assert(new StringCalculator());
    });

    test('can add', function() {
      var calc = new StringCalculator();
      assert(calc.add);
    });
  });
});

// Learnings
// - use "mocha -u tdd <foo>"
@@ -377,16 +377,110 @@
 %0A    %7D);
+%0A%0A    test('empty string returns 0', function() %7B%0A      assert.equal(0, calc.add(''));%0A    %7D);
 %0A  %7D);%0A%7D

empty returns 0