@Test
public void testResourceDimensionDivideAndRoundUp() throws Exception {

    ResourceDimension large = ResourceDimensionSample.SmallWithGpuAndOpportunisticX2.build();
    ResourceDimension largePlus = ResourceDimensionSample.SmallWithGpuAndOpportunisticX2.builder().withCpus(large.getCpu() + 1).build();
    ResourceDimension small = ResourceDimensionSample.SmallWithGpuAndOpportunistic.build();
    assertThat(ResourceDimensions.divideAndRoundUp(large, small)).isEqualTo(2);
    assertThat(ResourceDimensions.divideAndRoundUp(largePlus, small)).isEqualTo(3);
}