@Test
void castCharToDouble() {

    final ToDouble<String> toDouble = CastUtil.castCharToDouble(string -> string.toCharArray()[0]);
    assertNotNull(toDouble);
    assertNotEquals(0, toDouble.applyAsDouble("test"));
}