<commit_before>/**
 * Test bib/lego.js
 * */
var expect = require("chai").expect;
var Lego = require("../lib/lego");

describe("lego.Lego", function () {

});<commit_msg>test lego.start<commit_after>/**
 * Test bib/lego.js
 * */
var expect = require("chai").expect;
var Lego = require("../lib/lego");

describe("lego.Lego", function () {
    describe("Lego.start" , function(){
        it("should set params to this.params" , function(){
            var lego = new Lego();
            var params = {};
            lego.start(params);
            expect(lego.params).to.equal(params);
        })
    })
});
{'fraction_non_alphanumeric': 0.2, 'fraction_numerical': 0.0, 'mean_word_length': 2.62874251497006, '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': '1143541', 'n_tokens_mistral': 203, 'n_tokens_neox': 198, 'n_words': 39}