<commit_before>var path = require('path');
var should = require('chai').should();

var month = require(path.join(process.cwd(),'/lib/cal.month'));

describe.only('Month', function() {
  describe('#addLine()', function() {

    it('should print 7 days in a row', function() {
      month.addLine(3,9).should.equal(' 3  4  5  6  7  8  9\n');
    });

    it('should be print the first line in a month', function() {
      month.addLine(1,4,7,2015).should.equal('          1  2  3  4\n');
    });
  });

  describe('#days()', function() {
    it('should start with the first day of the month, and print a list of days', function() {
      var output = [
        '          1  2  3  4\n',
        ' 5  6  7  8  9 10 11\n',
        '12 13 14 15 16 17 18\n',
        '19 20 21 22 23 24 25\n',
        '26 27 28 29 30 31\n'<commit_msg>Adding newline character test for the last day of the month<commit_after>var path = require('path');
var should = require('chai').should();

var month = require(path.join(process.cwd(),'/lib/cal.month'));

describe.only('Month', function() {
  describe('#addLine()', function() {

    it('should print 7 days in a row', function() {
      month.addLine(3,9).should.equal(' 3  4  5  6  7  8  9\n');
    });

    it('should be print the first line in a month', function() {
      month.addLine(1,4,7,2015).should.equal('          1  2  3  4\n');
    });

    it('should print a new line after the last day of the month', function() {
      month.addLine(26,31).should.equal('26 27 28 29 30 31\n');
    });
  });

  describe('#days()', function() {
    it('should start with the first day of the month, and print a list of days', function() {
      var output = [
        '          1  2  3  4\n',
        ' 5  6  7  8  9 10 11\n',
        '12 13 14 15 16 17 18\n',
        '19 20 21 22 23 24 25\n',
        '26 27 28 29 30 31\n'
{'fraction_non_alphanumeric': 0.162891046386192, 'fraction_numerical': 0.08845738942826321, 'mean_word_length': 2.3303411131059244, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '93824', 'n_tokens_mistral': 742, 'n_tokens_neox': 622, 'n_words': 218}