<commit_before>describe('PIXI.interaction.InteractionData', function() {
    describe('getLocalPosition', function() {
        it('should populate second parameter with result', function() {
            var data = new PIXI.interaction.InteractionData(),
                displayObject = new PIXI.DisplayObject(),
                point = new PIXI.Point();

            data.global.set(10, 10);
            displayObject.position.set(5, 3);

            data.getLocalPosition(displayObject, point);

            expect(point.x).to.equal(5);
            expect(point.y).to.equal(7);
        });
    });
});<commit_msg>tweaked the test for getLocalPosition<commit_after>describe('PIXI.interaction.InteractionData', function() {
    describe('getLocalPosition', function() {
        it('should populate second parameter with result', function() {
            var data = new PIXI.interaction.InteractionData(),
                stage = new PIXI.DisplayObject(),
                displayObject = new PIXI.DisplayObject(),
                point = new PIXI.Point();

            data.global.set(10, 10);

            displayObject.position.set(5, 3);
            
            displayObject.parent = stage
            displayObject.displayObjectUpdateTransform();

            data.getLocalPosition(displayObject, point);

            expect(point.x).to.equal(5);
            expect(point.y).to.equal(7);
        });
    });
});
{'fraction_non_alphanumeric': 0.1265017667844523, 'fraction_numerical': 0.011307420494699646, 'mean_word_length': 2.2181818181818183, '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': '4730937', 'n_tokens_mistral': 393, 'n_tokens_neox': 366, 'n_words': 68}