<commit_before>define(["Library"], function(Library)
{
    "use strict";
    QUnit.module("Library");

    QUnit.test("Library properties DCL", function(assert)
    {
        var statusKey = Library.DCL;
        var status = Library.properties[statusKey];
        assert.equal(status.name, "Douglas County Libraries");
        assert.equal(status.url, "http://douglascountylibraries.org");
        assert.equal(status.value, statusKey);
    });

    QUnit.test("keys and values", function(assert)
    {
        // Setup.

        // Run.
        var result = Library.values();
        var ownPropertyNames = Object.getOwnPropertyNames(Library);

        // Verify.
        ownPropertyNames.forEach(function(key)
        {
            var key2 = Library[key];

            if (key !== "properties" && typeof key2 === "string")
            {
                assert.ok(Library.properties[key2], "Missing value for key = " + key);
            }
        });

        result.forEach(function(value)
        {
            var p = ownPropertyNames.filter(function(key)
            {
                return Library[key] === value;
            });

            assert.equal(p.length, 1, "Missing key for value = " + value);
        });
    });

    QUnit.test("values()", function(assert)
    {
        // Run.
        var result = Library.values();

        // Verify.
        assert.ok(result);
        var length = 3;
        assert.equal(result.length, length);
        assert.equal(result[0], "al");
        assert.equal(result[length - 1], "dcl");

        var properties = Object.getOwnPropertyNames(Library);
        var count = properties.length - 1 - // properties
            1; // values
        assert.equal(result.length, count);
    });<commit_msg>Added Jefferson County Public Library.<commit_after>define(["Library"], function(Library)
{
    "use strict";
    QUnit.module("Library");

    QUnit.test("Library properties DCL", function(assert)
    {
        var statusKey = Library.DCL;
        var status = Library.properties[statusKey];
        assert.equal(status.name, "Douglas County Libraries");
        assert.equal(status.url, "http://douglascountylibraries.org");
        assert.equal(status.value, statusKey);
    });

    QUnit.test("keys and values", function(assert)
    {
        // Setup.

        // Run.
        var result = Library.values();
        var ownPropertyNames = Object.getOwnPropertyNames(Library);

        // Verify.
        ownPropertyNames.forEach(function(key)
        {
            var key2 = Library[key];

            if (key !== "properties" && typeof key2 === "string")
            {
                assert.ok(Library.properties[key2], "Missing value for key = " + key);
            }
        });

        result.forEach(function(value)
        {
            var p = ownPropertyNames.filter(function(key)
            {
                return Library[key] === value;
            });

            assert.equal(p.length, 1, "Missing key for value = " + value);
        });
    });

    QUnit.test("values()", function(assert)
    {
        // Run.
        var result = Library.values();

        // Verify.
        assert.ok(result);
        var length = 4;
        assert.equal(result.length, length);
        assert.equal(result[0], "al");
        assert.equal(result[length - 1], "jcpl");

        var properties = Object.getOwnPropertyNames(Library);
        var count = properties.length - 1 - // properties
            1; // values
        assert.equal(result.length, count);
    });
{'fraction_non_alphanumeric': 0.13901472253680633, 'fraction_numerical': 0.005096262740656852, 'mean_word_length': 1.9006568144499179, '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': '2645481', 'n_tokens_mistral': 986, 'n_tokens_neox': 960, 'n_words': 196}