{"size": 765, "ext": "js", "max_stars_repo_path": "palindrome/test.js", "max_stars_repo_name": "markehost/javascript-exercises", "max_stars_repo_stars_event_min_datetime": "2017-05-02T15:53:34.000Z", "max_stars_repo_stars_event_max_datetime": "2017-05-02T15:53:34.000Z", "max_issues_repo_path": "palindrome/test.js", "max_issues_repo_name": "markehost/javascript-exercises", "max_issues_repo_issues_event_min_datetime": "2017-05-02T03:48:11.000Z", "max_issues_repo_issues_event_max_datetime": "2017-05-02T03:55:12.000Z", "max_forks_repo_path": "palindrome/test.js", "max_forks_repo_name": "markehost/javascript-exercises", "max_forks_repo_forks_event_min_datetime": "2021-02-20T09:43:27.000Z", "max_forks_repo_forks_event_max_datetime": "2021-02-20T09:43:27.000Z"}
{"max_stars_count": 1, "max_issues_count": 2, "max_forks_count": 1, "avg_line_length": 20.6756756757, "max_line_length": 57, "alphanum_fraction": 0.6196078431}
var assert = require('assert');
var isPalindrome = require('./');


describe('Palindrome - ', function() {

	describe('Strings - ', function() {

		it('simple text', function() {
			assert.equal( isPalindrome('abcdcba'), true );
		});

		it('text with spacing', function() {
			assert.equal( isPalindrome('ab cd cba'), true );
		});

		it('text with non-alphanumeric entities', function() {
			assert.equal( isPalindrome('ab,cdcb.a'), true );
		});

		it('spaces and non-alphanumeric entities', function() {
			assert.equal( isPalindrome('ab, cdcba. '), true );
		});

	})

	// DOES IT MAKE SENSE TO TEST THIS?
	describe('non-String entities - ', function() {

		it('simple number', function() {
			assert.equal( isPalindrome('9900770099'), true );
		});

	})


});