7);
    assert.closeTo(getCpuTotal_(valueForAllThreads),
        getCpuTotal_(valueForThread1) + getCpuTotal_(valueForThread2), 1e-7);
  });

  test('constructMultiDimensionalView_completeAggregation', () => {
    const modelSpec = {
      processes: [
        {
          name: 'Browser',
          pid: 12345,
          threads: [
            {
              name: 'CrBrowserMain',
              tid: 1,
              slices: (() => {
                const slices = [];
                for (let i = 0; i < 1000