public Quantity<U> in(U unit) {
		return new Quantity<U>(value * (this.unit.factor() / unit.factor()), unit);
	}
@Test
    public void convertUnits() throws Exception {
        Quantity<Metrics> quantityInMeters = new Quantity<Metrics>(1, Metrics.m);
        Quantity<Metrics> quantityInCm = quantityInMeters.in(Metrics.cm);
        assertThat(quantityInCm).isEqualTo(new Quantity<Metrics>(100, Metrics.cm));
    }