@Test
public void testValidConstructors() throws Exception {

    // Testing various quantities in order to ensure split and parsing is working
    // as expected
    new QuantityType<>("2°");
    new QuantityType<>("2°C");
    new QuantityType<>("3 µs");
    new QuantityType<>("3km/h");
    new QuantityType<>("1084 hPa");
    new QuantityType<>("0E-22 m");
    new QuantityType<>("10E-3");
    new QuantityType<>("10E+3");
    new QuantityType<>("10E3");
    QuantityType.valueOf("2m");
}