[100, 300]). CPU
    // Usage is therefore (30 + 20) / 200.
    assert.closeTo(getCpuUsage_(values), (30 + 20) / 200, 1e-7);
    assert.closeTo(getCpuTotal_(values), (30 + 20), 1e-7);
  });

  test('constructMultiDimensionalView_' +
      'slicesStraddleExpectationBoundaries', () => {
    const simpleModelSpec = getSimpleModelSpec_();
    simpleModelSpec.processes[0].threads[0].slices.push(
        {range: [150, 200], cpu: 30},
        {range: [205, 255], cpu: 20}
    );
    simpleModelSpec.expectations.pus