<commit_before>// <reference path = "core.js">

"use strict";

describe("Core tests", function () {
    it("Exist namespace", function () {
        expect(CrowdSim).not.toBeNull();
        expect(CrowdSim.World).toBeDefined();
    });

});<commit_msg>Added basic commands, dependencies (pixi.js). Testing build environment<commit_after>// <reference path = "core.js">

"use strict";

describe("Core tests", function () {
    //debugger;
    it("Exist namespace", function () {
        expect(CrowdSim).not.toBeNull();
        expect(CrowdSim.World).toBeDefined();
        expect(CrowdSim.Engine).toBeDefined();
    });

    it("Engine", function () {
        expect(CrowdSim.Engine).not.toBeNull();
        expect(CrowdSim.Engine.running).toBe(false);
        CrowdSim.Engine.run();
        expect(CrowdSim.Engine.running).toBe(true);
        CrowdSim.Engine.stop();
        expect(CrowdSim.Engine.running).toBe(false);
        CrowdSim.Engine.reset();
        expect(CrowdSim.Engine.running).toBe(false);
    });


});
{'fraction_non_alphanumeric': 0.17271835132482827, 'fraction_numerical': 0.0, 'mean_word_length': 3.180327868852459, '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': '7086461', 'n_tokens_mistral': 326, 'n_tokens_neox': 323, 'n_words': 47}