<commit_before><commit_msg>Add octahedral map test<commit_after>defineSuite([
        'Scene/OctahedralProjectedCubeMap',
        'Specs/createScene',
        'Specs/pollToPromise'
    ], function(
        OctahedralProjectedCubeMap,
        createScene,
        pollToPromise) {
    'use strict';

    var scene;
    var environmentMapUrl = './Data/EnvironmentMap/shanghai_bund_1k_ibl.ktx';

    beforeAll(function() {
        scene = createScene();
    });

    afterAll(function() {
        scene.destroyForSpecs();
    });

    afterEach(function() {
        scene.primitives.removeAll();
    });

    it('creates a packed texture', function() {
        var octahedralMap = new OctahedralProjectedCubeMap(environmentMapUrl);
        scene.primitives.add(octahedralMap);

        return pollToPromise(function() {
            scene.renderForSpecs();
            return octahedralMap.ready;
        }).then(function() {
            expect(octahedralMap.texture.width).toEqual(194);
            expect(octahedralMap.texture.height).toEqual(128);
            expect(octahedralMap.maximumMipmapLevel).toEqual(5);
        });
    });
}, 'WebGL');
{'fraction_non_alphanumeric': 0.12325174825174826, 'fraction_numerical': 0.006993006993006993, 'mean_word_length': 2.6698717948717947, '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': '2002699', 'n_tokens_mistral': 347, 'n_tokens_neox': 336, 'n_words': 45}