Skip to content

Commit

Permalink
Move substantial data operation inside unit tests (#3917)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pessimistress committed Nov 21, 2019
1 parent 5328f38 commit f96204e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/data/grid-aggregation-data.js
Expand Up @@ -366,8 +366,6 @@ const fixtureWorldSpace = {
}
};

Object.assign(fixtureWorldSpace, buildAttributes(fixtureWorldSpace));

export const GridAggregationData = {
viewport,
fixture,
Expand Down
Expand Up @@ -162,6 +162,8 @@ test('GPUGridAggregator#CompareCPUandGPU', t => {
});

test('GPUGridAggregator worldspace aggregation #CompareCPUandGPU', t => {
Object.assign(fixtureWorldSpace, GridAggregationData.buildAttributes(fixtureWorldSpace));

const sa = new GPUGridAggregator(gl);
let results = sa.run(Object.assign({}, fixtureWorldSpace, {useGPU: false}));
const cpuResults = {
Expand Down

0 comments on commit f96204e

Please sign in to comment.