<commit_before>var assert = require('chai').assert;
var Say = require('../saywhat.js');

describe('saywhat', function() {

    it('should not output `hello`', function() {
        assert.notEqual(Say.encode('hello'), 'hello');
    });

    it('should output `hello`', function() {
        var text = Say.encode('hello');
        var decoded = Say.decode(text);
        assert.equal(decoded, 'hello');
    });

    it('should nout output `1234567890`', function() {
        assert.notEqual(Say.encode('1234567890'), '1234567890');
    });

    it('should output `1234567890`', function() {
        var text = Say.encode('1234567890');
        var decoded = Say.decode(text);
        assert.equal(decoded, '1234567890');
    });

    it('should nout output `hello1234567890`', function() {
        assert.notEqual(Say.encode('hello1234567890'), 'hello1234567890');
    });

    it('should output `hello1234567890`', function() {
        var text = Say.encode('hello1234567890');
        var decoded = Say.decode(text);
        assert.equal(decoded, 'hello1234567890');
    });

    it('should output large text', function() {
        var string = '<KEY>';
        var text = Say.encode(string);
        var decoded = Say.decode(text);
        assert.equal(decoded, string);
    });

});<commit_msg>issue with quotes this is not a real issue, adds test to make sure use case works<commit_after>var assert = require('chai').assert;
var Say = require('../saywhat.js');

describe('saywhat', function() {

    it('should not output `hello`', function() {
        assert.notEqual(Say.encode('hello'), 'hello');
    });

    it('should output `hello`', function() {
        var text = Say.encode('hello');
        var decoded = Say.decode(text);
        assert.equal(decoded, 'hello');
    });

    it('should nout output `1234567890`', function() {
        assert.notEqual(Say.encode('1234567890'), '1234567890');
    });

    it('should output `1234567890`', function() {
        var text = Say.encode('1234567890');
        var decoded = Say.decode(text);
        assert.equal(decoded, '1234567890');
    });

    it('should nout output `hello1234567890`', function() {
        assert.notEqual(Say.encode('hello1234567890'), 'hello1234567890');
    });

    it('should output `hello1234567890`', function() {
        var text = Say.encode('hello1234567890');
        var decoded = Say.decode(text);
        assert.equal(decoded, 'hello1234567890');
    });

    it('should output large text', function() {
        var string = '<KEY>';
        var text = Say.encode(string);
        var decoded = Say.decode(text);
        assert.equal(decoded, string);
    });

    it('should work with \'', function() {
        var string = "when words aren't enough";
        var text = Say.encode(string);
        var decoded = Say.decode(text);
        assert.equal(decoded, string);
    });

    it('should work with \"', function() {
        var string = 'when words aren\"t enough';
        var text = Say.encode(string);
        var decoded = Say.decode(text);
        assert.equal(decoded, string);
    });

});
{'fraction_non_alphanumeric': 0.16715069377218458, 'fraction_numerical': 0.07744433688286544, 'mean_word_length': 2.865336658354115, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '3339263', 'n_tokens_mistral': 1103, 'n_tokens_neox': 898, 'n_words': 214}