@Test
public void testResourceDimensionSubtraction() throws Exception {

    ResourceDimension large = ResourceDimensionSample.SmallWithGpuAndOpportunisticX2.build();
    ResourceDimension small = ResourceDimensionSample.SmallWithGpuAndOpportunistic.build();
    assertThat(ResourceDimensions.subtractPositive(large, small)).isEqualTo(small);
}