<commit_before>var expect = require('chai').expect;
var isPalindrome = require('../src/palindrome');

describe('palindrome-test', function() {
	it('should pass the canary test', function() {
		expect(true).to.be.true;
	});

	it('should return true when passed "mom"', function() {
		expect(isPalindrome('mom')).to.be.true;
	});<commit_msg>Add test: 'dad' is a palindrome<commit_after>/*
 * Test ideas
 *
 * 'dad' is a palindrome
 * 'dude' is not a palindrome
 * 'mom mom' is a palindrome
 * 'dad dae' is a palindrome'
 */

var expect = require('chai').expect;
var isPalindrome = require('../src/palindrome');

describe('palindrome-test', function() {
	it('should pass the canary test', function() {
		expect(true).to.be.true;
	});

	it('should return true when passed "mom"', function() {
		expect(isPalindrome('mom')).to.be.true;
	});

	it('should return true when passed "dad"', function() {
		expect(isPalindrome('dad')).to.be.true;
	});
{'fraction_non_alphanumeric': 0.18723404255319148, 'fraction_numerical': 0.0, 'mean_word_length': 4.703030303030303, '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': '4730919', 'n_tokens_mistral': 348, 'n_tokens_neox': 330, 'n_words': 81}